diff options
| author | 2025-10-20 12:23:03 +0200 | |
|---|---|---|
| committer | 2025-10-20 13:29:22 +0200 | |
| commit | 8ef9b0fe88470125d6ee60a3ea0bab796048e692 (patch) | |
| tree | efe91c1f0ad0dc405d6dddbeedeb700c5e1cde6b /src/env | |
| parent | f701015dcce565ab9323a4057b3577f61999601f (diff) | |
Security hardening
Diffstat (limited to 'src/env')
| -rw-r--r-- | src/env | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -0,0 +1,4 @@ +set _REPO_PERMISSIONS_FILE /etc/repo-permissions +set _REPO_VALIDATION_REGEX "((?:\/[a-zA-Z0-9_-]+)+.git)" +set _GIT_VALIDATION_REGEX "^(git-(?:upload-pack|receive-pack|upload-archive)) '$_REPO_VALIDATION_REGEX'\$" +set LOG /var/log/error.txt |
