mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-22 01:10:23 +00:00
don't escape $ in hashpath either
This commit is contained in:
parent
66c0bfaa8e
commit
50ef1f8e35
1 changed files with 1 additions and 1 deletions
|
|
@ -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 : '');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue