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
The CLI could automatically remove a single trailing new-line character when decoding a base64 encoded input, which would help in situations where someone has piped a base64 value and unknowingly included a new line character on the end.
This is really easy when piping the result from the echo command, which adds a new line character unless you also use the -n option. It's also really easy when piping the result from other applications that include a new line in the output at the end.
In general we should ignore whitespace with base64 entities since whitespace doesn't matter and sometimes folks have the base64 with hardwrap new lines within.
The CLI could automatically remove a single trailing new-line character when decoding a base64 encoded input, which would help in situations where someone has piped a base64 value and unknowingly included a new line character on the end.
This is really easy when piping the result from the
echo
command, which adds a new line character unless you also use the-n
option. It's also really easy when piping the result from other applications that include a new line in the output at the end.It would result in situations like this 🫨 :
Becoming this 😄 :
The text was updated successfully, but these errors were encountered: