1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 13:44:26 +00:00
gitea/routers
zeripath d21b7fd3af
Clean paths when looking in Storage (#19124) (#19179)
Backport #19124

* Clean paths when looking in Storage

Ensure paths are clean for minio aswell as local storage.

Use url.Path not RequestURI/EscapedPath in storageHandler.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Apply suggestions from code review

Co-authored-by: Lauris BH <lauris@nix.lv>
2022-03-23 09:23:00 +00:00
..
api/v1 Fix NPE /repos/issues/search when not signed in (#19154) (#19155) 2022-03-20 22:42:31 +01:00
common Instead of using routerCtx just escape the url before routing (#18086) 2021-12-25 00:50:49 +08:00
install Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
private Do not send notification emails to inactive users (#19131) (#19139) 2022-03-19 18:33:32 +00:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Clean paths when looking in Storage (#19124) (#19179) 2022-03-23 09:23:00 +00:00
init.go Handle email address not exist (#19089) (#19121) 2022-03-19 11:35:23 +00:00