diff options
| author | Igor Minar | 2010-11-18 22:39:25 -0800 | 
|---|---|---|
| committer | Igor Minar | 2010-11-18 22:40:00 -0800 | 
| commit | 50ef1f8e35d23020b2b5dfde8002f2430049fb47 (patch) | |
| tree | bbd0669ee765bfedfc1c9f7304df721c369cbbd4 /src/services.js | |
| parent | 66c0bfaa8e84cadf2823c85fbc2adab8fe7e1ccd (diff) | |
| download | angular.js-50ef1f8e35d23020b2b5dfde8002f2430049fb47.tar.bz2 | |
don't escape $ in hashpath either
Diffstat (limited to 'src/services.js')
| -rw-r--r-- | src/services.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services.js b/src/services.js index 1efd5234..b84ba3e6 100644 --- a/src/services.js +++ b/src/services.js @@ -249,7 +249,7 @@ angularServiceInject("$location", function(browser) {    function composeHash(loc) {      var hashSearch = toKeyValue(loc.hashSearch);      //TODO: temporary fix for issue #158 -    return escape(loc.hashPath).replace(/%21/gi, '!').replace(/%3A/gi, ':') + +    return escape(loc.hashPath).replace(/%21/gi, '!').replace(/%3A/gi, ':').replace(/%24/gi, '$') +            (hashSearch ? '?' + hashSearch : '');    }  | 
