You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
…ncoding URI
Previously, if a URL parameter value included a $, it would replace the dollar sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string circumvents this
behaviour and produces a more expected result.
Closesangular#6003
…ncoding URI
Previously, if a URL parameter value included a $, it would replace the dollar sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string circumvents this
behaviour and produces a more expected result.
Closesangular#6003
caitp
added a commit
to caitp/angular.js
that referenced
this issue
Feb 3, 2014
…ncoding URI
Previously, if a URL parameter value included a $, it would replace the dollar sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string circumvents this
behaviour and produces a more expected result.
Closesangular#6003
1 liner demonstration in a browser JS console:
angular.injector(['ngResource']).get('$resource')('/search/:str').get({'str': 'hello$'})
GET http://docs.angularjs.org/search/hello$1 404 (Not Found)
Notice the extra '1' in the URL.
The text was updated successfully, but these errors were encountered: