-
Notifications
You must be signed in to change notification settings - Fork 14
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 displays sentinel instead of incorrect character #11
Conversation
also makes base64lookup Uint8 and removes the need to add 1 for the decoding
Doh, I missed the obvious change. |
I know @dcjones needs to take a break from using his hands, but perhaps I can help here? I'm not a Base64 coding guru, so I might need a little extra explanation. Can you give an example of the behavior that was broken before this PR, and how it now works? If you do your development in a branch, you can easily switch back and forth. Maybe like this:
Run your tests that should fail and post the results here. Then do If at some point you want to make more commits to this branch, you can add them to |
Even better would be to add your example to the tests. Also, it looks like I will have authority to merge this. Your changes overall look fine, and might even improve performance as well. |
Thank you for the clear instructions but I think I still messed up. Here is how the orginal code fails and how the PR fixes it:
with the proposed change, the output is instead
I am not sure how to add this into a test since both the original code and the PR throw an error. It is the error message that changes. |
Thanks for the explanation, that's very helpful. |
base64 decoding displays sentinel instead of incorrect character
Thank you for taking care of it so quickly. And because you are the one always preaching about Best wishes to @dcjones for a rapid recovery. |
It is mainly commit 70c83b3. It fixes one bug and a minor problem:
The second commit is because the code retouching went a bit out of control.
Disclaimer: I have never done a PR, so my apologies if I am doing this wrong. And I am new to Julia too...