You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
result of Buffer.from with base64 is different between versions #651
I think this is due to nodejs/node#11995? It’s intentional and should be a real bug fix.
Hmm, does this matter in cases with invalid base64 anyway?
We’re kind of lenient when it comes to decoding base64, but I agree; if you are passing strings like It's weirdest I've Ever Seen!! to the decoder, I wouldn’t expect a meaningful result.
Activity
vsemozhetbyt commentedon Jun 1, 2017
Some more versions I have:
cc @nodejs/buffer
RReverser commentedon Jun 1, 2017
Hmm, does this matter in cases with invalid base64 anyway?
addaleax commentedon Jun 1, 2017
I think this is due to nodejs/node#11995? It’s intentional and should be a real bug fix.
We’re kind of lenient when it comes to decoding base64, but I agree; if you are passing strings like
It's weirdest I've Ever Seen!!to the decoder, I wouldn’t expect a meaningful result.