*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version: 2.11.3
What steps will reproduce the problem?
1. Goto Settings -> HTTP Password
2. Generate Password until you get a password that contains a slash ("/")
3. Setup a remote with that password:
git remote set-url origin http://username:password/withslash@gerrit/project
4. Try to push:
git push origin
What is the expected output? What do you see instead?
You will get the following error:
fatal: unable to access 'http://username:password/withslash@gerrit/project' Could not resolve host: username
Please provide any additional information below.
When the password doesn't contain a slash, the command works correctly, so you shouldn't allow slashes.