Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

$location double-escapes query parameters #751

Closed
ejain opened this issue Feb 17, 2012 · 3 comments
Closed

$location double-escapes query parameters #751

ejain opened this issue Feb 17, 2012 · 3 comments

Comments

@ejain
Copy link

ejain commented Feb 17, 2012

e.g. ' ' is escaped to '%2B' ('+')
e.g. '/' is escaped to '%252F' ('%2F')

See example at http://jsfiddle.net/LHXkP/.

@IgorMinar
Copy link
Contributor

to be more precise, $location.url() double escapes the search/query part of the url

@blabno
Copy link

blabno commented Apr 4, 2014

Which version has this been solved in?
I'm using v1.2.11 and this is critical for me.

@caitp
Copy link
Contributor

caitp commented Apr 4, 2014

@blabno 59fa40e is included since the 1.0.0 tag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants