3 ms·
$ echo -n 'dW5kZWZpbmVk' | base64 --decode undefined Many JavaScript-based applications break when the user-input is the string “undefined”. All of the en
by guessmyname 8y ago
$ echo -n 'dW5kZWZpbmVk' | base64 --decode
undefined
Many JavaScript-based applications break when the user-input is the string “undefined”.
All of the entries in this repository are encoded using Based64, for obvious reasons.
If the reasons are not obvious, read the header of the repository here:
> Also, do not send a null character (U+0000) string, as it changes the file
> format on GitHub to binary and renders it unreadable in pull requests.
To prevent unintentional breaks of GitHub’s UI, the author decided to encode the strings.