Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: StripPrefix does not preserve url path #24366
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
This has nothing to do with
From the documentation -
Regarding EscapedPath(), see -
I don't see anything that needs change here. Everything works according to the documentation.
Hmm .. on second thoughts I think
Also, surprisingly, the RawPath vanishes for %20, %21, %22. I have just tested only these though.
To be honest, maybe this will all be resolved with "worked as expected" because technically everything is behaving as documented. To me, the url's API around
I'd also like to understand why