[Webkit-unassigned] [Bug 184660] New: Can't load local files with accented characters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 12:31:15 PDT 2018


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

            Bug ID: 184660
           Summary: Can't load local files with accented characters
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: amarok at enconn.fr
                CC: cdumez at apple.com

I tried to load this HTML page:

```html
<html>
<head>
  <meta charset=“utf-8”>
</head>
<body>
<img src="file:///home/AmarOk/T%C3%A9l/t7d4.jpg"><!-- NOT OK But file exists (works on firefox)-->
<img src="https://enconn.fr/T%C3%A9l/t7d4.jpg"><!-- OK -->
<img src="file:///home/AmarOk/Downloads/1.png"><!-- OK and file exists-->
</body>
</html>
```

And tried to load it via webkit_web_view_load_html or webkit_web_view_load_uri.

# Expected result

3 images should be shown

# Actual result

The first one with a 'é' in the path fails to load ([Error] Not allowed to load local resource: file:///home/AmarOk/T%C3%A9l/t7d4.jpg (test.html, line 8))

Didn't try on another OS

-- 
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/20180416/d6631fd4/attachment-0001.html>


More information about the webkit-unassigned mailing list