GoogleChromeLabs / browser-fs-access

File System Access API with legacy fallback in the browser
https://googlechromelabs.github.io/browser-fs-access/demo/
Apache License 2.0
1.38k stars 84 forks source link

Extension contains invalid characters #63

Closed PeterNjeim closed 3 years ago

PeterNjeim commented 3 years ago

TypeError: Failed to execute 'showOpenFilePicker' on 'Window': Extension '.mscz,' contains invalid characters. is the error I'm receiving. Obviously this has to do with how there's a comma at the end of the file extension, which is a real thing. You should consider allowing special characters in file extensions.

image image

tomayac commented 3 years ago

I just tried this on macOS (Chrome) and Windows (Edge). In both cases saving and opening .mscz, files worked. Could you please let me know the exact operating system and browser version you are using?

PeterNjeim commented 3 years ago

I'm using Windows 11 (21H2) build 22000.120 and Edge version 92.0.902.67

tomayac commented 3 years ago

I have traced this down to https://crbug.com/1238259. Please star that bug for progress updates. By the way, investigating this issue caused me to find a bug in v0.20.2, please update to the latest version v0.20.3.

PeterNjeim commented 1 year ago

With the release of MuseScore 4, the backup files have been renamed from .mscz, to .mscz~. Don't know if ~ is supported or not, but this issue might not need fixing if it is supported