forgejo/modules/storage
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
..
helper.go
local.go Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
local_test.go Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
minio.go Clean paths when looking in Storage (#19124) 2022-03-22 17:02:26 -04:00
storage.go