Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
What's the problem this feature will solve?
This can be bad and still leak credentials for index servers that use a single API token for login, for example:
Describe the solution you'd like
When the auth portion of a URL consists of a single element, we should be redacting it.
This should require renaming
Some tests that will also need to be updated:
This was mentioned as an issue on PR #6890.
For an example of when this single-part login is used, see #6796.
This issue is a good starting point for anyone who wants to help out with pip's development -- it's simple and the process of fixing this should be a good introduction to pip's development workflow.