Skip to content

Fix/extend path extraction #36

Description

@Vlix

extractPath has an edge case it does not correctly handle:

-- >>> extractPath "https://some.example.com?path=/some/path"
"/some/path"

It would also be nice to have an extractPath-type/family of function(s) that will parse most of the URI for any http/https URIs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions