String escaping - URLs with %252F

Hi,

I'm having trouble with a string escaping issue. I'm on a page and I want to pushState to:

http://blah.com/This%252FThat

Because of the string unescaping, the URL pushed is:

http://blah.com/This/That

and the mismatch between the two causes the browser to get upset and just load the page fresh. The attached fixes the issue in HTML5 Firefoxes / Chromes, but it probably upsets the fallback hashing (which doesn't seem to work in this case either with or without the patch).

Would be great if you could take a look.

Thanks,

Arthur