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 56bded9d8d
Local storage should not store files as executable (#22162) (#22163)
Backport #22162

The PR #21198 introduced a probable security vulnerability which
resulted in making all storage files be marked as executable.

This PR ensures that these are forcibly marked as non-executable.

Fix #22161

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

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-12-19 01:12:25 +02: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 Local storage should not store files as executable (#22162) (#22163) 2022-12-19 01:12:25 +02: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 Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00