Work around chrome bug with the exclamation symbol.

master
Jason A. Donenfeld 2012-04-16 19:02:16 +02:00
parent 836503156d
commit f05aab0109
1 changed files with 2 additions and 0 deletions

View File

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