Base64 decoding (atob) of padded strings yields trailing \x00 #1171
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 1 comment
-
Posted at 2018-07-03 by @gfwilliams Wow, thanks - I have no idea how that didn't get spotted. I've just put a fix in, so the latest xcutting edge builds should have this fixed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-07-03 by Steffen
When decoding base64 encoded strings padded with trailing '=' the '=' seem to get replaced with \x00:
Looks like a glitch in the base64 decoder?
Beta Was this translation helpful? Give feedback.
All reactions