-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZPublisher/utils: fix encoding in basic_auth_encode and basic_auth_de…
…code (#1064) Fixes #1062 and backports #1063 for 4.x Basic authentication header charset is unspecified, but in practice these days user agents use UTF-8. On python 2 we also don't want basic_auth_encode to encode the str because we don't expect an unicode but a native string.
- Loading branch information
1 parent
337bc76
commit 68f0c12
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters