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
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
path methods like path.basename and path.extname break if you pass them a filename that includes (legal) control characters like \r, because the splitPathRe regex uses . to match "any char", which excludes newlines.
Most people are sane enough not to use control chars in filenames, but on OS X, if you give a file or folder a custom icon, the custom icon data is stored in a hidden file called Icon\r.
The text was updated successfully, but these errors were encountered:
path methods like
path.basename
andpath.extname
break if you pass them a filename that includes (legal) control characters like\r
, because thesplitPathRe
regex uses.
to match "any char", which excludes newlines.Most people are sane enough not to use control chars in filenames, but on OS X, if you give a file or folder a custom icon, the custom icon data is stored in a hidden file called
Icon\r
.The text was updated successfully, but these errors were encountered: