-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
URL parameters not being decoded. #209
Comments
decoding |
@fafhrd91 Could we discuss this before closing please? I have been using Parts of a URL element with a "%" followed by two hexadecimal digits is intended to be decoded as text. It should not change the route of the URL itself. This is standard across all web frameworks I've used. Has Thanks. |
problem with decoding |
I think original behavior was wrong |
@fafhrd91 I see. I've just switched my project over to use query parameters instead which is decoded correctly. I would prefer to use URL parameters but I respect that it may be difficult. |
you can manually do percent decoding. something like
|
what issue? |
I need test case. #182 introduced new Url type which decode percent encoding of utf8 symbols except |
@fafhrd91 Ah yes, sorry, my bad. All characters appear to be getting decoded, except |
example I posted above should work |
@fafhrd91 Yes, but it's a workaround. Ideally |
Having the same issue, would be good to get |
I have a basic project using
actix-web
, with a route, accepting a URL parameter namedurl
.When I call this route by requesting
http://localhost:8080/%2F
, the parameter is not decoded, and remains as "%2F" instead of "/"....
The text was updated successfully, but these errors were encountered: