stable

Clone or download

Read-only

fix(git): push to PR branch should not give broken PR

When one create a PR from a branch and then continue to push to that branch, the corresponding PR is no longer reachable (410 gone). This commit fix that behaviour introduced by git #tuleap/stable/e2b6a5bfca360063ef64879d94207b2ac1cd26fe Follow-up request #28889 Harden calls to Git CLI against argument injection Change-Id: Ia24db508cd2ff1363c17537c0bc367497fc49ccf

Modified Files

Name
M plugins/git/include/Git_Exec.class.php +8 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/GitReference/GitPullRequestReferenceUpdater.php +2 −2 Go to diff View file
M plugins/pullrequest/tests/unit/GitReference/GitPullRequestReferenceUpdaterTest.php +3 −3 Go to diff View file