-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix handling of tokens (single part credentials) in URLs #6818
Fix handling of tokens (single part credentials) in URLs #6818
Conversation
6abc49d
to
0832006
Compare
5265af7
to
6dd087b
Compare
CI driven development! \o/ |
news/6795.bugfix
Outdated
@@ -0,0 +1 @@ | |||
Fix bugs in handling of credentials in URLs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be more specific by mentioning the case of “a username in the URL with no password (e.g. a token)” since that is the case that everyone has been reporting and would want to know is fixed when reading the release notes. Also, if it’s too vague people might think it might also include the quoting issue, which was also reported but we’re not fixing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed.
Could someone else review this PR? I'm inclined to merge it but I just wanna make sure that no one has any outstanding issues here. To that end, if no one raises any concerns by Sunday morning IST, I'll merge this (and make a pip 19.2.2 release the next week). |
@pradyunsg There are commits which show me as the author, yet I did not make the changes. This could cause confusion when trying to maintain the code base. For example if someone needed to track down the original author of a commit. This applies to all of ccac31a and b5b70ad. It also applies to the commit message of 5036631 which forms part of the commit. The original commit is booleand@d07b7a3 |
Ah, yes. I rebased off your PR, which is why git credited you as the author. If you mind, I'm happy to change things up to remove the attribution. |
no worries. Yes, it makes sense to remove the attribution. |
@pradyunsg Could you also include the fix for issue #6804 (PR #6827) when you release, which was the other 19.2 regression? (I'm assuming the PR can be merged by then as the fix is trivial.) Also, since there have been 19.3-specific changes to master since the last release, I'm wondering if the fixes should be cherry-picked prior to release (to minimize the chance of introducing new regressions). |
Yep yep. I'll be cherry-picking the specific regressions that we want to fix; not releasing off master. The earlier bugfix releases blocking master or going straight off master, was mostly because I was being lazy. :) |
Ensure in _get_url_and_credentials, that the values extracted are sane.
ef7d429
to
0a6c1c7
Compare
Doing a squash-merge to make cherry-picking easier. |
Closes #6796
Supersedes and closes #6795