[Webkit-unassigned] [Bug 64207] New: IDNA or URL parsing error with mixed escapings of CJK

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 14:42:41 PDT 2011


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

           Summary: IDNA or URL parsing error with mixed escapings of CJK
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: chris at lookout.net
                CC: abarth at webkit.org


Running Safari 5.0.5 on Windows 7 x64.  I was looking a little closer at the following test case from Webkit's
http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/host.js

// Mixed UTF-8 and escaped UTF-8 (narrow case) and UTF-16 and escaped
// UTF-8 (wide case). The output should be equivalent to the true wide
// character input above).
["%E4%BD%A0%E5%A5%BD\u4f60\u597d", "xn--6qqa088eba"],

My test suite is slightly different but I reuse this test case as in:

<a href='http://%E4%BD%A0%E5%A5%BD&#x4f60;&#x597d;' id='77'>77</a><img src='http://%E4%BD%A0%E5%A5%BD&#x4f60;&#x597d;' /><br />

Running a sniffer like Wireshark and testing on Windows 7, a DNS query hits the wire with the following name:

xn--\xc3\xa4\xc2\xbd\xc2\xa0\xc3\xa5\xc2\xa5\xc2\xbd-5g72ap39l

In my test setup, my DNS server responds with an IP address, so Safari continues to make the HTTP request for the <img> with the following Host header:

Host: xn--??-5g72ap39l

Is this a problem with IDNA characters or the mixed escaping/encoding presented in the <img> src?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list