Skip to content

hs.urlevent incorrectly treats scheme in case sensitive manner #3686

@von

Description

@von

With Hammerspoon configured to be the default URL handler via URLDispatcher and trying to open a URL starting with "HTTPS://" I get the following error:

2024-09-10 13:14:11: 13:14:11 ERROR: urlevent: Hammerspoon has been passed a HTTPS URL, but does not know how to handle it

I.e. it looks like URLDispatcher treats "HTTPS" and "https" differently.

I believe, according to 6.2.2.1 of RFC 3986, schemes should be treated in a case-insensitive manner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions