[Webkit-unassigned] [Bug 171058] [GTK] After upgrading glib and glib-networking, resources with zero bytes are always identified as text/plain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 21 00:39:38 PDT 2017


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

--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Reading the comments in the GNOME bug it seems the change in behavior was accidental, but then they decided it was an improvement. I kind of agree that a  zero size file with .png extension is not a png file (or any other extension). I bet this only affects unit tests, so we can work around the issue inside webkit, either patching glib to only check zero-sized files after guessing the content type form the filename if the result is uncertain, or using real files (small enough, but real) in the tests.

-- 
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/20170421/f8310c1d/attachment-0001.html>


More information about the webkit-unassigned mailing list