Community
Participate
Working Groups
Build Identifier: 20100917-0705 When entering an illegal value as remote name for cloned branches within the clone wizard it is possible to click Finish. Only after cloning is (nearly) complete an error message is shown: Failure updating tracking ref refs/remotes/&&&//(§$"#הצההצה�p�\\\<>::/@@/master: The filename, directory name, or volume label syntax is incorrect or Failure updating tracking ref refs/remotes/ /master: The system cannot find the path specified Reproducible: Always Steps to Reproduce: 1. Clone a Git repository (e.g. Git Repositories view -> Clone a Git Repository... button) 2. Enter 'http://egit.eclipse.org/egit.git' as URI 3. Click Next twice 4. Enter '&&&//(§$"#הצההצה�p�\\\<>::/@@' or ' ' as remote name 5. Click Finish
It should be checked with Repository.isValidRefName(Constants.R_REMOTES + remoteName + "/test").
Fixed by Michael Keppler (who started contributing via the EclipseCon Europe Hackathon): https://git.eclipse.org/c/egit/egit.git/commit/?id=db74a44d03d182cf7b82d5abcaad336fbc20210f