stable
Clone or download
Read-only
request #17187 git repository pattern name doesn't work well
It's possible to create a repository with a name like "repo.git/newrepo" which break all the new git repository. How to test : /!\ if you don't disable the git repository creation on code you will have problem on new repositories (fixable) - try to pass a name with .git before the first "/" like lerepo.git/newrepo" --> creation is launched, marked as ok on sytem event but repository still in creation - New repositories after this action will be not usable (impossible to clone etc.) To fix broken repositories you can change the name and the pass on database, regenerate git configuration off your project and delete the repo. Change-Id: Ib1eecff0f72a351dd33664ea8fd89f8b45671591
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/GitRepositoryCreatorImpl.class.php | +2 | −2 | Go to diff View file |
M | plugins/git/scripts/repositories/po/fr.po | +7 | −6 | Go to diff View file |
M | plugins/git/scripts/repositories/src/components/GitRepositoryCreate.vue | +2 | −2 | Go to diff View file |
M | plugins/git/tests/unit/Git_Backend_GitoliteTest.php | +16 | −0 | Go to diff View file |