[openstreetmap-website] IE11 and IE10 fail to display anything in panel after clicking on a search result (#932)
notifications at github.com
Tue Mar 17 11:55:23 UTC 2015
Sorry about this, I know how much you hate Internet Explorer... this is the current version, not an old one.
If you search for a street (I used the search string "Middleton Close, Cambridge") it displays the result correctly, but if you click on that result, you get a blank left panel.
with error "SCRIPT5025 : The URI to be decoded is not a valid encoding"
Examnining variable a, it shows
"OpenStreetMap | Way: â€ªMiddleton Closeâ€¬ (â€ª331105333â€¬)"
(i.e. with the a-hat and euro symbol etc).
"OpenStreetMap | Way: %E2%80%AAMiddleton Close%E2%80%AC (%E2%80%AA331105333%E2%80%AC)"
It appears these strings contain open and close left-to-right embedding UTF-8 characters 0xE280AA and 0xE280AC. escape produces %u... for these, and decodeURIComponent blows up on this in IE11. escape is deprecated. I'm not sure what is trying to be achieved here. Incidentally the debugger shows the X-Page-Title string in decoded form and Chrome doesn't, but this may just be the debugger - or maybe it could indicate that IE11 is decoding this string when you aren't expecting it to.
IE9 and IE8 (ironically, given yesterday's IE8 bug) are fine!
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev