w3c / web-share-target

Web API proposal for receiving shared data
https://w3c.github.io/web-share-target/
Other
191 stars 20 forks source link

ShareTargetFiles.accept shouldn't allow extensions #76

Closed mounirlamouri closed 5 years ago

mounirlamouri commented 5 years ago

See: https://wicg.github.io/web-share-target/level-2/#sharetargetfiles-and-its-members

This is copying the accept property from HTML forms but HTML forms came with years of legacy. The web has moved on and we use MIME Type instead of file extensions. We shouldn't encourage using file extensions.

ewilligers commented 5 years ago

74 and #76 are the same issue.

mounirlamouri commented 5 years ago

Oups, thanks :)