This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
HttpRequestFeature.Path does not match the request if contains encoded url #782
Closed
Description
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.