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 #28185
Comments
//fixed //bug |
// fix bug, if we don't know the code is padding or nopading |
To fix a bug, you first need to describe exactly what the bug is and how to reproduce it. Please follow the issue template to do that. |
fix the decodeQuantum and DecodedLen |
Please tell us what the problem is. Tell us exactly what you did, exactly what happened, and what you expected to have happen instead. Thanks. |
@koggle As far as I can imagine from your pull-request and your codes on play.golang.org, you seems be pointing that RawStdEncoding doesn't handle on padding. But it works as expected. You should use |
@mattn @ianlancetaylor @mvdan |
For example, I have two connections: aa://1234abc and aa://1234abc= This is not generated by me, it is someone else's, in fact, the content is the same. I need StdEncoding and RawStdEncoding for decoding, which doesn't look succinct. When you encounter this kind of aa://1234abc?, RawStdEncoding can't solve it at all. |
This issue is still not following the clear steps outlined in the issue template. We're not getting any closer to that format, so I'm going to close this issue for now. @koggle if you think there is a bug in the base64 package, please open a new issue and follow the template, clearly describing the bug and how to reproduce it. |
Do you expect strict encoder? Then please use |
#28184
The text was updated successfully, but these errors were encountered: