httprouter icon indicating copy to clipboard operation
httprouter copied to clipboard

v2 not using url.Path

Open yonderblue opened this issue 9 years ago • 3 comments

Along with the other question about handling the Allow header, in v2 could you use request.RequestURI instead of url.Path so %2F comes through correctly? Any time frame on v2 or just "when its done"? :)

yonderblue avatar Jun 26 '15 17:06 yonderblue

This commit https://github.com/golang/go/commit/874a605af0764a8f340c3de65406963f514e21bc, might be of interest. But this in only after 1.5 is released.

Thomasdezeeuw avatar Jun 26 '15 19:06 Thomasdezeeuw

Is this going to be fixed? Its been almost year :)

yonderblue avatar Apr 15 '16 00:04 yonderblue

Some playground examples that might be of interest: https://play.golang.org/p/Xy5dceAdFdX https://play.golang.org/p/g3RH7J8NHJx

palsivertsen avatar Oct 17 '19 15:10 palsivertsen