Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File model conflicts with File API #37

Open
annevk opened this issue Jun 3, 2020 · 1 comment
Open

File model conflicts with File API #37

annevk opened this issue Jun 3, 2020 · 1 comment

Comments

@annevk
Copy link

annevk commented Jun 3, 2020

See w3c/FileAPI#41 for a discussion. We should have a single model for files in the web platform. (I.e., what kind of fields they have and what kind of values those fields can hold.)

@inexorabletash
Copy link
Collaborator

Yep. (As always, note that this attempts to document existing UA behavior, not define an API we're happy with)

We should check to see what UAs currently do with this API when given native files (via drag/drop or <input type=file>) with names that contain "forbidden" characters (NUL, / or \) ? I expect bugs and inconsistency, which might give us room to make some web-compatible fixes.

cc: @mkruisselbrink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants