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/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>
2 years ago
..
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
local.go Clean paths when looking in Storage (#19124) 2 years ago
local_test.go Clean paths when looking in Storage (#19124) 2 years ago
minio.go Clean paths when looking in Storage (#19124) 2 years ago
storage.go format with gofumpt (#18184) 2 years ago