0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/routers
zeripath 3f71ab9a12
Clean paths when looking in Storage (#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-22 17:02:26 -04:00
..
api/v1 Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
common format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
install Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2022-02-08 11:02:30 +08:00
private Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
utils
web Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00