Unescaped space in proxy URL causes "Failed to parse" error in pip 19.2.1 #6839
Labels
auto-locked
Outdated issues that have been locked by automation
resolution: duplicate
Duplicate of an existing issue/PR
Environment
Description
After upgrading pip from version 19.1.1 to 19.2.1, I was not able anymore to install any package.
For example, the command
pip install upydev
terminates immediately with the error message:ERROR: Could not install packages due to an EnvironmentError: Failed to parse: http://name surname:password@proxy:8080
After some debugging I found out the problem is generated by the presence of a space character in the user login, i.e. between the user name and his surname.
Workaround
Simply replacing the space with the corresponding URL-encoded entity solves the issue.
The text was updated successfully, but these errors were encountered: