RESOLVED FIXED 217179
MIME type parser should skip trailing HTTP whitespace
https://bugs.webkit.org/show_bug.cgi?id=217179
Summary MIME type parser should skip trailing HTTP whitespace
Rob Buis
Reported 2020-10-01 06:21:12 PDT
MIME type parser should skip trailing HTTP whitespace in Mimesniff mode [1]. [1] https://mimesniff.spec.whatwg.org/#parse-a-mime-type (Steps 8 and 11.9.2)
Attachments
Patch (6.09 KB, patch)
2020-10-01 06:40 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2020-10-01 06:40:38 PDT
Alex Christensen
Comment 2 2020-10-03 20:26:43 PDT
Comment on attachment 410228 [details] Patch This may be a baby step in the right direction, but the web platform test indicates this may very well cause a regression. Could we expand on this patch until it says PASS?
Rob Buis
Comment 3 2020-10-04 14:15:45 PDT
(In reply to Alex Christensen from comment #2) > Comment on attachment 410228 [details] > Patch > > This may be a baby step in the right direction, but the web platform test > indicates this may very well cause a regression. Could we expand on this > patch until it says PASS? It needs to be combined with https://bugs.webkit.org/show_bug.cgi?id=217296 to convert it into a PASS. While I can't explain the changed result (only had time to look into it briefly), I am not sure if trading one FAIL for another is so bad here.
EWS
Comment 4 2020-10-05 01:13:54 PDT
Committed r267957: <https://trac.webkit.org/changeset/267957> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410228 [details].
Radar WebKit Bug Importer
Comment 5 2020-10-05 01:14:17 PDT
Note You need to log in before you can comment on or make changes to this bug.