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.
extractPathhas an edge case it does not correctly handle:It would also be nice to have an
extractPath-type/family of function(s) that will parse most of the URI for anyhttp/httpsURIs.