[Webkit-unassigned] [Bug 22899] New: HTMLAnchorElement.pathname returns decoded attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 17 02:47:18 PST 2008


           Summary: HTMLAnchorElement.pathname returns decoded attribute
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://home.react.nl/~michiel/webkit-pathname-bug.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: michiel at parse.nl

If an anchor's href contains encoded characters, reading the anchor's pathname
returns a decoded path.

Firefox and IE return the 'raw' version (thus with %.. in the string) whereas
webkit returns a decoded path. Opera returns a decoded path as well.

As a sidenote, IE6 returns a decoded href-attribute as well.

I assume that fetching the attribute of an element returns the actual value,
not a modified value.

Configure bugmail: https://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