net/http/httputil: the default Director created by NewSingleHostReverseProxy can't pass through %2F when target path is non-root #28359
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Same as #9589, but narrowed to when the target has a non-root path.
What did you do?
https://play.golang.org/p/aVfpA4qDvBDUpdated to use httptest.NewRequest: https://play.golang.org/p/IaxyHIn-iDd
What did you expect to see?
What did you see instead?
System details
Workaround
Wrap Director to also modify RawURL:
https://play.golang.org/p/akfhd7QsemmUpdated as well: https://play.golang.org/p/ydw6fN3wU-l
The text was updated successfully, but these errors were encountered: