Bug 297161

Summary: JSON & XML MIME types should only contain valid HTTP tokens
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: Page LoadingAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/54219

Tim Nguyen (:ntim)
Reported 2025-08-08 19:07:33 PDT
https://mimesniff.spec.whatwg.org/#parse-a-mime-type Types should only have HTTP token code points.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-08-08 19:07:54 PDT
Tim Nguyen (:ntim)
Comment 2 2025-08-08 19:09:04 PDT
Tim Nguyen (:ntim)
Comment 3 2025-08-08 21:53:10 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/54219
EWS
Comment 4 2025-08-09 06:04:10 PDT
Committed 298472@main (5ffc74139bd2): <https://commits.webkit.org/298472@main> Reviewed commits have been landed. Closing PR #49169 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.