diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/services.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/services.js b/src/services.js index e8006496..1efd5234 100644 --- a/src/services.js +++ b/src/services.js @@ -248,7 +248,9 @@ angularServiceInject("$location", function(browser) { */ function composeHash(loc) { var hashSearch = toKeyValue(loc.hashSearch); - return escape(loc.hashPath) + (hashSearch ? '?' + hashSearch : ''); + //TODO: temporary fix for issue #158 + return escape(loc.hashPath).replace(/%21/gi, '!').replace(/%3A/gi, ':') + + (hashSearch ? '?' + hashSearch : ''); } /** |
