WICG / entries-api

Spec defining browser support for file/directory upload by drag-and-drop
https://wicg.github.io/entries-api/
Other
41 stars 9 forks source link

Should backslashes be forbidden? #21

Open inexorabletash opened 6 years ago

inexorabletash commented 6 years ago

Chrome is inconsistent here across platforms. On Linux at least, a file a-\-b is allowed and can be uploaded. On Windows such a file is blocked.

The spec right now declares a backslash invalid in paths, and so getFile()/getDirectory() throw.