Open sporto opened 6 years ago
One workaround is to remove the basepath manually before parsing e.g.
urlWithoutBasePath =
{ url |
path = String.replace flags.basePath "" url.path
}
That workaround completely ignores the problem of percent-encoding.
I'm experiencing this issue as well on a github-pages site
That workaround completely ignores the problem of percent-encoding.
...Then percent-encode the base path first.
Consider an application that is not in the root of a site e.g.
In this case we would pass the basepath to the app via flags. e.g
I attempted to parse this like:
But
Parser.s
won't parse the/
.Example here https://ellie-app.com/3grXTSD4Bkxa1
It would be great to have something to parse a basepath e.g.
Thanks