Work around chrome bug with the exclamation symbol.

This commit is contained in:
Jason A. Donenfeld 2012-04-16 19:02:16 +02:00
parent 836503156d
commit f05aab0109

View File

@ -145,6 +145,8 @@
hash = hash.substring(1); hash = hash.substring(1);
else if (hash[0] === "/") else if (hash[0] === "/")
hash = hash.substring(1); hash = hash.substring(1);
else if (hash.substring(0, 3) === "%21")
hash = hash.substring(3);
else if (hash[hash.length - 1] === "/") else if (hash[hash.length - 1] === "/")
hash = hash.substring(0, hash.length - 1); hash = hash.substring(0, hash.length - 1);
else else