<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - setting location.pathname re-encodes pathname"
href="https://bugs.webkit.org/show_bug.cgi?id=153662">153662</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>setting location.pathname re-encodes pathname
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>OS X 10.10
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>HTML DOM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kerryck@inkling.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=270230" name="attach_270230" title="Test Case">attachment 270230</a> <a href="attachment.cgi?id=270230&action=edit" title="Test Case">[details]</a></span>
Test Case
Steps to Repro:
1. Go to <a href="https://cdn.inkling.com/safari-test/foo%20bar.html">https://cdn.inkling.com/safari-test/foo%20bar.html</a>
2. Click the "Refresh Page" button which does `window.location.pathname = window.location.pathname`
Expected Behaviour
The page should be refreshed to the URL <a href="https://cdn.inkling.com/safari-test/foo%20bar.html">https://cdn.inkling.com/safari-test/foo%20bar.html</a>
Actual Behaviour:
The page is refreshed to the URL <a href="https://cdn.inkling.com/safari-test/foo%2520bar.html">https://cdn.inkling.com/safari-test/foo%2520bar.html</a>
I assume that this started happening when <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - window.location.href and others needlessly decodes URI-encoded characters"
href="show_bug.cgi?id=30225">https://bugs.webkit.org/show_bug.cgi?id=30225</a> was fixed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>