[Webkit-unassigned] [Bug 229456] file picker should ignore "*/*" accept attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 24 12:31:18 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229456

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
"*/*" actually seems like a valid value according to the spec:
- https://html.spec.whatwg.org/multipage/input.html#attr-input-accept
says "A valid MIME type string with no parameters"

points to:
- https://mimesniff.spec.whatwg.org/#valid-mime-type-with-no-parameters

which points to:
- https://mimesniff.spec.whatwg.org/#valid-mime-type

which points to:
- https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.1

says:
     media-type = type "/" subtype *( OWS ";" OWS parameter )
     type       = token
     subtype    = token

type and subtype are both tokens, defined here:
- https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6

so it seems like '*' is a valid token.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210824/cd9a65b6/attachment-0001.htm>


More information about the webkit-unassigned mailing list