Ticket #2529399 (closed defect)
ReporterStanda Opichal |
Opened: 10/6/10 Last modified: 01/14/11 Status: closed Type: defect Resolution: fixed |
Owner Ryan Grove |
Target Release: 3.3.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Y.HistoryHash logs unquoted state changes twice | ||
| Description: | If one clicks on a link which contains otherwise escaped characters then YUI3 puts the original state to the location.hash. That triggers the onhashchange and that is set to the URL again as As a result of this the back button needs double hits to actually go back... |
||
| Type: | defect | Observed in Version: | 3.2.0 |
| Component: | History | Severity: | S3 (normal) |
| Assigned To: | Ryan Grove | Target Release: | 3.3.0 |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | All | ||
| URL: | |||
| Test Information: | e.g.: <a href="yui3page#key=value/other/value"> causes the history to change: 1) if key=oldvalue != key=value%XXother%XXvalue then HistoryHash.setHash('#key=value%XXother%XXvalue') |
||
Change History
|
Posted: 10/6/10
|
|
Posted: 10/6/10
|
|
Posted: 10/6/10
Fixed in commit 45b049d4232108bbc0a2a4b70218006543f494a6. |
|
Posted: 01/14/11
|
Here is a change that prevents this behavior:
http://github.com/opichals/yui3-gdc/commit/a3cbc8c9aa116d8503e14611f1377c6157b978d8