3 ms·
Seriously though, has anyone encountered a file with a new line in its name? I have never encountered this "problem" in the wild.
by djha-skin 2y ago
Seriously though, has anyone encountered a file with a new line in its name? I have never encountered this "problem" in the wild.
- rurban 2y agoI often create them by accident in emacs with save-as, somehow a newline is often to easily appended
- makeitdouble 2y agoI'd assume you can also hit that case if your string library mishandles the encoding of the file name and it becomes a new line where there was none. Then auto generating files from another source will also do that, in particular from html fields, where SQL and sheer security related sanitization will obviously be done, but comestic stuff like new lines can be left untouched.