[Webkit-unassigned] [Bug 245625] [SOUP] Spammed by 0-byte downloads on imgur.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 14 10:08:56 PDT 2022


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

--- Comment #4 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Started looking into this. Epiphany's decide-policy callback uses webkit_response_policy_decision_is_mime_type_supported() and downloads anything not supported by WebKit, which is surely correct... at least, it seems like what we intend for browsers to do with the response policy decision; it doesn't make sense to have webkit_response_policy_decision_is_mime_type_supported() otherwise. When this happens, MIMETypeRegistry::canShowMIMEType returns "application/octet-stream", which is of course not supported.

I'm not sure what to do next. I don't think browsers should require special code to skip 0-byte resources, and I also don't we should skip the policy decision for 0-byte resources. I'm not sure if it's safe for WebKit to block them; they're almost certainly tracking pixels, which users don't like, but I wouldn't be surprised if some websites break if we don't let them load.

I wonder why Carlos Garcia is not able to reproduce with Epiphany. I actually wind up with 6-9 new downloads for each visit to imgur.com, since it repeats the same three 0-byte downloads again and again.

-- 
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/20221014/2a4e0a40/attachment-0001.htm>


More information about the webkit-unassigned mailing list