[Webkit-unassigned] [Bug 153662] New: setting location.pathname re-encodes pathname

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 29 11:41:28 PST 2016


            Bug ID: 153662
           Summary: setting location.pathname re-encodes pathname
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kerryck at inkling.com

Created attachment 270230
  --> https://bugs.webkit.org/attachment.cgi?id=270230&action=review
Test Case

Steps to Repro: 
1. Go to https://cdn.inkling.com/safari-test/foo%20bar.html
2. Click the "Refresh Page" button which does `window.location.pathname = window.location.pathname`

Expected Behaviour
The page should be refreshed to the URL https://cdn.inkling.com/safari-test/foo%20bar.html

Actual Behaviour:
The page is refreshed to the URL https://cdn.inkling.com/safari-test/foo%2520bar.html

I assume that this started happening when https://bugs.webkit.org/show_bug.cgi?id=30225 was fixed.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160129/bc50c7cb/attachment.html>

More information about the webkit-unassigned mailing list