Opened 9 years ago

Closed 9 years ago

#10824 closed defect (fixed)

[patch][ccla]hash.js fails to dispatch event in IE7 if new hash contains %23

Reported by: cvogt Owned by: James Burke
Priority: high Milestone: 1.5
Component: General Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

In IE7 when the hash changes to a value which contains %23 (encoded '#') then hash.js fails to dispatch an event.

My test started with a hash value of "#foo=bar" and when the value changed to "#foo=%23bar" I never received any event.

At line 174:

if(ifrOffline
iframeLoc.search === expectedIFrameQuery){

This condition is never satisfied because expectedIFrameQuery has a value of "?foo=#bar" and iframeLoc.search has a value of "?foo=".

Attachments (1)

10824.patch (4.5 KB) - added by Adam Peller 9 years ago.
patch with test from retchless (IBM)

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by Adam Peller

Owner: changed from anonymous to Rob Retchless

comment:2 Changed 9 years ago by cvogt

This problem breaks our web app navigation in IE7 for many scenarios. Is there any chance this can be looked at and planned soon?

comment:3 Changed 9 years ago by Rob Retchless

I am working on a fix to this now.

Changed 9 years ago by Adam Peller

Attachment: 10824.patch added

patch with test from retchless (IBM)

comment:4 Changed 9 years ago by Adam Peller

Owner: changed from Rob Retchless to James Burke
Summary: hash.js fails to dispatch event in IE7 if new hash contains %23[patch][ccla]hash.js fails to dispatch event in IE7 if new hash contains %23

comment:5 Changed 9 years ago by Adam Peller

Milestone: tbd1.5

comment:6 Changed 9 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [21969]) Fixes #10824, from patch, CLA on file

Note: See TracTickets for help on using tickets.