~sircmpwn/git.sr.ht

f2c8bab45d3c89f4c304c612e06099b968063146 — Drew DeVault 1 year, 11 days ago 3dcb942 0.83.6
repo.patch: fix command injection
1 files changed, 1 insertions(+), 0 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +1 -0
@@ 577,6 577,7 @@ def patch(owner, repo, ref):
                "--git-dir", repo.path,
                "format-patch",
                "--stdout", "-1",
                "--",
                ref
            ], timeout=10, stdout=subprocess.PIPE, stderr=sys.stderr)
        except subprocess.TimeoutExpired: