Skip to content
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

base64 decoding doesn't handle newlines. #14

Open
zaphar opened this issue Dec 22, 2014 · 0 comments
Open

base64 decoding doesn't handle newlines. #14

zaphar opened this issue Dec 22, 2014 · 0 comments

Comments

@zaphar
Copy link

zaphar commented Dec 22, 2014

Decoding base64 text with the optional newlines will fail with the error Invalid base64 character \377. filtering out the newlines will succeed.

You would expect the base64 codec to correctly handle newlines since it's common to for base64 encoded text to have them.

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

No branches or pull requests

1 participant