WICG / file-system-access

Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.
https://wicg.github.io/file-system-access/
Other
656 stars 64 forks source link

Ignoring directories containing tilde character ~ #353

Closed kepta closed 1 year ago

kepta commented 2 years ago

It is a common practice for users to have ~ in their file name, but it looks like the browser ignores such entries. I could not find anything in spec which forbids this, other than a possible security measure.

a-sully commented 1 year ago

Yeah this is quite annoying (and annoyingly difficult to change). The TLDR is that there's a Chromium library this API uses to check "is this file safe" and that library bans tildes because it's the easiest way to deal with VFAT short names

Closing this issue since it's a problem with the Chromium implementation rather than the spec. Please continue this discussion on https://crbug.com/1336156