Skip to content

Conversation

@RedGlow
Copy link
Contributor

@RedGlow RedGlow commented May 28, 2015

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.

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.
@usernamenumber
Copy link

+1. This fixed #86 for me. Thanks!

@brianjmiller
Copy link
Member

@RedGlow can you remove the comment preceding the code change since the newline is no longer existing (so not needing to be removed)? Otherwise I'm 👍 on this.

@brianjmiller
Copy link
Member

Closing for #88 which takes care of the comment. (Trying to fasttrack this.)

@RedGlow
Copy link
Contributor Author

RedGlow commented Jun 3, 2015

Sorry, read the updates only now. I see you already removed the line, so I suppose there's nothing more for me to do ;-)

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.

3 participants