[Webkit-unassigned] [Bug 202806] New: W3C test importer breaks svg files.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 10 10:43:38 PDT 2019


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

            Bug ID: 202806
           Summary: W3C test importer breaks svg files.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: youennf at gmail.com

The WebKit W3C importer tries to rewrite the xml/html/css files when importing them to rewrite paths and such.

The issue is that to decide if rewrite the file or not uses the mimetype and the current code just checks for something like
if "xml" in str(mimetype[0])

but svg files have mimetype image/svg+xml so the above becomes true and it tries to rewrite a svg file breaking it.

-- 
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/20191010/d984c6fc/attachment.html>


More information about the webkit-unassigned mailing list