-
Notifications
You must be signed in to change notification settings - Fork 27.5k
$location.hashSearch breaks Firefox #492
Comments
It appears that this could be fixed by changing |
Thanks groner, it looks like your proposal is sensible to do... |
right. escape should not be used here. can't we safely switch to using |
From |
https://github.com/angular/angular.js/blob/master/src/service/location.js#L242 uses |
You are right Igor, but new $location uses our custom |
…to,from}KeyValue This is bug angular#492, but I can't wait for the $location service rewrite.
…to,from}KeyValue This is bug angular#492, but I can't wait for the $location service rewrite.
Firefox decodes the hash part of a URL and breaks if %XX encoding of high-bit bytes aren't UTF-8.
Examples:
Firefox works: http://server/app#?filter=PIHLSTR%C3%96M
Firefox breaks: http://server/app#?filter=PIHLSTR%D6M
Updating location.hash/href or calling location.assign()/replace() is the same. There's no exception, navigation just doesn't happen.
I've found this in Firefox 3.6 and 5.0. There are a few bugs discussing it, but it doesn't seem like a fix is imminent.
The text was updated successfully, but these errors were encountered: