- commit
- 65584e548d68aefff61845db1d223f8490949b39
- parent
- c12ec4abecad7605a4e9eb70cf17e7092f960b5c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-04-22 07:02
fix: rm duplicated and insecure SSH_ORIGINAL_COMMAND parsing
Diffstat
M | gitolite/shell.py | 2 | -- |
1 files changed, 0 insertions, 2 deletions
diff --git a/gitolite/shell.py b/gitolite/shell.py
@@ -15,8 +15,6 @@ SOC_RE = ( 15 15 16 16 17 17 def parse_soc():18 -1 cmd, repo = os.environ['SSH_ORIGINAL_COMMAND'].split()19 -120 18 soc = re.match(SOC_RE, os.environ['SSH_ORIGINAL_COMMAND']) 21 19 if not soc: 22 20 sys.stderr.write('invalid command\n')