Skip to content

Conversation

@brianjmiller
Copy link
Member

With long usernames and passwords (like those produced by Learning Locker), the base64.encodestring produces multiline digest for the Auth header, thus breaking the requests. This patch uses the better b64encode, which doesn't add any spurious newlines.

RedGlow and others added 2 commits May 28, 2015 16:15
With long usernames and passwords (like those produced by Learning
Locker), the base64.encodestring produces multiline digest for the Auth
header, thus breaking the requests. This patch uses the better
b64encode, which doesn't add any spurious newlines.
@brianjmiller
Copy link
Member Author

Bumps with comment removed from #87.

@brianjmiller brianjmiller self-assigned this Jun 2, 2015
brianjmiller added a commit that referenced this pull request Jun 2, 2015
Fix broken basic auth with long username/password
@brianjmiller brianjmiller merged commit e43e198 into RusticiSoftware:master Jun 2, 2015
@brianjmiller brianjmiller deleted the pr87 branch June 2, 2015 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants