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

fix base64 decode bug #3337

Merged
merged 2 commits into from
Sep 22, 2016
Merged

fix base64 decode bug #3337

merged 2 commits into from
Sep 22, 2016

Conversation

kostya
Copy link
Contributor

@kostya kostya commented Sep 21, 2016

No description provided.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@@ -130,6 +142,11 @@ describe "Base64" do
Base64.decode_string("a")
end
end

it "decode bug" do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the example description be more descriptive? What are the conditions that lead to the bug? Perhaps stating it decodes makes more sense.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decode small tail after last \n, was a bug

@asterite
Copy link
Member

@kostya Thank you!

@asterite asterite merged commit 1fff36d into crystal-lang:master Sep 22, 2016
@asterite asterite added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib labels Sep 22, 2016
@asterite asterite added this to the 0.19.3 milestone Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants