[Webkit-unassigned] [Bug 11774] New: Percent-encoding of / doesn't work before/after host

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 7 04:42:54 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11774

           Summary: Percent-encoding of / doesn't work before/after host
           Product: WebKit
           Version: 419.x
          Platform: Macintosh
               URL: http:%2F%2F%77%65%62%2E%6E%69%63%6B%73%68%61%6E%6B%73%2E
                    %63%6F%6D%2F%62%6F%6F%6F%6B%73%2F%67%65%74%74%69%6E%67%2
                    D%67%6F%6C%64
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: contact at nickshanks.com


%-encoding of the slashes in a URL doesn't always work. WebKit seems to presume
the first two should always be added, and fails if the slash following the
domain is encoded.

e.g. the following four URLs are equivalent:

http:%2F%2F%77%65%62%2E%6E%69%63%6B%73%68%61%6E%6B%73%2E%63%6F%6D%2F%62%6F%6F%6F%6B%73%2F%67%65%74%74%69%6E%67%2D%67%6F%6C%64
http://%77%65%62%2E%6E%69%63%6B%73%68%61%6E%6B%73%2E%63%6F%6D%2F%62%6F%6F%6F%6B%73%2F%67%65%74%74%69%6E%67%2D%67%6F%6C%64
http://%77%65%62%2E%6E%69%63%6B%73%68%61%6E%6B%73%2E%63%6F%6D/%62%6F%6F%6F%6B%73%2F%67%65%74%74%69%6E%67%2D%67%6F%6C%64
http://web.nickshanks.com/books/getting-gold

but only the latter two work. I can't tell if the encoded one causes a cache
miss or not. Someone might want to check that it doesn't.


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



More information about the webkit-unassigned mailing list