[Webkit-unassigned] [Bug 183563] New: [GTK] Special characters in URI disable CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 12 04:46:36 PDT 2018


            Bug ID: 183563
           Summary: [GTK] Special characters in URI disable CSS
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: manda.mgf at gmail.com
                CC: bugs-noreply at webkitgtk.org

Created attachment 335590

  --> https://bugs.webkit.org/attachment.cgi?id=335590&action=review

Screenshot showing firefox and gnome epiphany rendering same local file


When rendering a local file from a path containing accents the CSS all absolute and relative links are disabled. The issue is shown in the screenshot attached where the same html file is rendered from the same location in both firefox and epiphany (aka Gnome Web). 
I also had the same problem while using the Webkit2Gtk library in Marker project as reported here: https://github.com/fabiocolacio/Marker/issues/136

In this latter case the html page is loaded as following:

  uri = g_filename_to_uri  (g_locale_from_utf8(base_uri, strlen(base_uri), NULL, NULL, NULL), NULL, NULL);
  webkit_web_view_load_bytes(webview, html, "text/html", "UTF-8", uri);

Best regards,

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/20180312/6c107bec/attachment.html>

More information about the webkit-unassigned mailing list