stable
Clone or download
Read-only
request #11130: Broken regexes in Git fine grained permissions can block any Git administrative operations
To be able to reproduce the issue you must have enabled the usage of regular expressions in permissions in the site administration. This only fix the regex issue, another contribution should probably take care of checking if the Gitolite configuration is broken or not. Change-Id: Ic90d70c26a7b2a8181c62d35f0f7f8f7477b1c26
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/git/bin/gitolite-test-ref-pattern.pl | +27 | −0 | Go to diff View file |
M | plugins/git/include/Git/Permissions/FineGrainedRegexpValidator.php | +24 | −4 | Go to diff View file |
M | plugins/git/tests/Git/Permissions/FineGrainedRegexpValidatorTest.php | +6 | −2 | Go to diff View file |