This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/modules/storage
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
..
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
local.go Clean paths when looking in Storage (#19124) (#19179) 2022-03-23 09:23:00 +00:00
local_test.go Clean paths when looking in Storage (#19124) (#19179) 2022-03-23 09:23:00 +00:00
minio.go Clean paths when looking in Storage (#19124) (#19179) 2022-03-23 09:23:00 +00:00
storage.go Close storage objects before cleaning (#16934) 2021-09-03 11:48:49 +01:00