Need some special handling for @ chars in urls.
authorJan Schneider <jan@horde.org>
Tue, 20 Apr 2010 13:35:44 +0000 (15:35 +0200)
committerJan Schneider <jan@horde.org>
Tue, 20 Apr 2010 15:03:01 +0000 (17:03 +0200)
horde/js/dhtmlHistory.js

index 5ce30f9..49681aa 100644 (file)
@@ -303,7 +303,7 @@ Horde.dhtmlHistory = {
         var hash = this.getCurrentLocation();
 
         // See if there has been a change or there is no hash location
-        if (hash == this.currentLocation || Object.isUndefined(hash)) {
+        if (hash.replace(/@/, '%40') == this.currentLocation || Object.isUndefined(hash)) {
             return;
         }