You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
I am sending a simple request with the following URL:
http://localhost:5000/secrets/http%3A%2F%2Fwww.g
When I look at the Path property of the HttpRequestFeature, it contains:
/secrets/http:%252F%252Fwww.g
Instead of the expected value from the original URL. It looks like it has decoded the : and re-encoded the %.
I tried to track back to the setting of the property on the creation of the request from the context, but I get a bit lost in the feature collection, I am happy to help fixing this if someone could point me in the right direction.
The text was updated successfully, but these errors were encountered:
The un-escaping of %3A is happening in the server (Kestrel/WebListener).
The double escaping of %2F to %252F is happening in PathString.ToUriComponent(). We should make this smart enough to recognize %XX and avoid double escaping.
I am sending a simple request with the following URL:
http://localhost:5000/secrets/http%3A%2F%2Fwww.g
When I look at the
Path
property of the HttpRequestFeature, it contains:/secrets/http:%252F%252Fwww.g
Instead of the expected value from the original URL. It looks like it has decoded the
:
and re-encoded the%
.I tried to track back to the setting of the property on the creation of the request from the context, but I get a bit lost in the feature collection, I am happy to help fixing this if someone could point me in the right direction.
The text was updated successfully, but these errors were encountered: