Basic auth with integer username broken in 2.12.2
See original GitHub issuePreviously, it was possible to set auth
to something like (42,'password')
. This has worked fine since before requests hit 1.0. 2.12.2, a patch release, broke this, causing failures such as the ones seen in this Travis build.
I am not saying the new behavior is incorrect, but this is a breaking change.
This is similar but not the same as #3750, #3736, and #3751.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Angular 2 Basic Authentication not working - Stack Overflow
I'm trying to connect/ do a POST request to an API with Angular2, It's a very simple API with a Basic Authentication password....
Read more >Deprecation of Basic authentication in Exchange Online
Basic authentication simply means the application sends a username and password with every request, and those credentials are also often ...
Read more >Can you pass user/pass for HTTP Basic Authentication in URL ...
It is indeed not possible to pass the username and password via query parameters in standard HTTP auth. Instead, you use a special...
Read more >Hibernate ORM 5.2.18.Final User Guide - Red Hat on GitHub
Hibernate provides a number of built-in basic types, which follow the natural mappings recommended by the JDBC specifications. Internally Hibernate uses a ...
Read more >Docker Compose release notes
Fixed compose#9983; Fixed parsing issue when a container number label is ... or additional information, check the Compose repository 2.12.2 release page.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This will be resolved in a future release. =)
For the master branch we want a check that says
if not isinstance(user/pass, basestring)
then we cast tostr
.