At the moment, filenamify does not filter out unicode bidi characters such as U+202E RIGHT-TO-LEFT-OVERRIDE. There is some concern that these could be used to construct malicious but innocent-looking filenames:
bar [U+202e]cod.bat
becomes:
bar cod.bat
My feeling is that this library should strip these characters, but I'm not 100% certain.
At the moment,
filenamify
does not filter out unicode bidi characters such as U+202E RIGHT-TO-LEFT-OVERRIDE. There is some concern that these could be used to construct malicious but innocent-looking filenames:bar [U+202e]cod.bat
becomes:bar cod.bat
My feeling is that this library should strip these characters, but I'm not 100% certain.