Closed systemcrash closed 9 months ago
Recommended to add a base64 helper, which tags === onto the end (max padding). Then let base64 determine how much padding is necessary.
===
Why?
Some copy/paste selection mechanisms auto-select up to = since = is often a separator, not always part of a text-string.
=
When I (mouse) click from a console, where double-clicking selects
asdf== ---^ up to and including here
Otherwise trying to add without correct padding results in e.g.:
Something is wrong in received data: illegal base64 data at input byte 84
Recommended to add a base64 helper, which tags
===
onto the end (max padding). Then let base64 determine how much padding is necessary.Why?
Some copy/paste selection mechanisms auto-select up to
=
since = is often a separator, not always part of a text-string.When I (mouse) click from a console, where double-clicking selects
Otherwise trying to add without correct padding results in e.g.:
Something is wrong in received data: illegal base64 data at input byte 84