[Webkit-unassigned] [Bug 30225] New: window.location.href needlessly decodes URI-encoded characters in the URI path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 11:20:05 PDT 2009


           Summary: window.location.href needlessly decodes URI-encoded
                    characters in the URI path
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andreip at google.com

Navigate to a URL that contains URI escape sequences in its path, e.g.
http://example.com/foo%3dbar and query window.location.href. This property
should return the URI unmodified in any way. What actually happens is that the
property contains the URI with its path component being URI-decoded, i.e.

IE, Mozilla FF, Chrome all return the path unmodified. Safari 4.x and the
Android browser decode the path. This problem was actually meant to be
addressed after the patch in the bug below landed:


but it never happened.

Also note the following bug filed against Android:


Uploading patch soon.

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