mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
6e7d28cf3a
There was an unfortunate regression in #14293 which has led to the double decoding of url parameter elements if they contain a '%'. This is due to an issue with the way chi decodes its RoutePath. In detail the problem lies in mux.go where the routeHTTP path uses the URL.RawPath or even the URL.Path instead of the escaped path to do routing. This PR simply forcibly sets the routePath to that of the EscapedPath. Fix #17938 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
limited_org | ||
migration/lfs-test.git | ||
org26 | ||
privated_org | ||
user2 | ||
user3/repo3.git | ||
user5/repo4.git | ||
user12/repo10.git | ||
user13/repo11.git | ||
user27 |