You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/integrations/gitea-repositories-meta
zeripath 6e7d28cf3a
Prevent double decoding of % in url params (#17997)
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>
3 years ago
..
limited_org Fix org visibility bug when git cloning (#6743) 5 years ago
migration/lfs-test.git Add LFS Migration and Mirror (#14726) 3 years ago
org26 Redirect issue if repo has configured external tracker. (#9247) 5 years ago
privated_org Fix org visibility bug when git cloning (#6743) 5 years ago
user2 Prevent double decoding of % in url params (#17997) 3 years ago
user3/repo3.git Add review request api (#11355) 4 years ago
user5/repo4.git Kanban board (#8346) 4 years ago
user12/repo10.git Fix 404 when send pull request some situation (#6871) 5 years ago
user13/repo11.git Add commit statuses reports on pull request view (#6845) 5 years ago
user27 Rework repository archive (#14723) 3 years ago