-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't route url which contains some char likes #\space #2
Comments
If Clack returns the decoded URL, then probably we don't need to decode it again. |
I have tried
But it doesn't work, since quri:url-encode will encode
I can't find function from puri to process this. |
I have noticed that there are two routes system in weblocks. |
For now, I use this as a work around:
But it may not handle case I mentioned here |
When visit something like
127.0.0.1/a%20a
it will give error like this:There was an error processing your request: Parse error:URI "/a a" contains illegal character #\ at position 2.%
It turns out to because this.
Clack will return decoded url, which may contains something like #\space and it looks like puri
(puri:parse-uri)
can't handle it.It may have more to do with cl-routes, but it looks like there are no new progress since 2017.
The text was updated successfully, but these errors were encountered: