I'm using angular 1.6, my page is breaking whenever the url params has '@' symbol in it. For example, www.stackoverflow.com?email=jon@gmail.com. Not sure what is going on. It is encoding and working with all other symbols. I'm using ui-router, will that be any cause by chance?
Asked
Active
Viewed 61 times
1 Answers
1
You need to urlencode the query string to avoid issues with special characters. Have a look at the answers to this question.

Kai
- 2,529
- 1
- 15
- 24
-
Thanks. But I had more than 20 urls with '@', i don't want to urlencode everywhere. Is there any chance i can do it main js file. – rj7999 Jul 21 '17 at 18:14
-
It's hard to understand what you mean without seeing your code – Kai Jul 21 '17 at 18:20