We have an edge case issue where an external application requires a specific url parameter to be present in the url request to our website:
https://stackoverflow.com/questions/ask?abc=123
Here is a screenshot:
Occasionally, the url parameter will not render correctly causing the url to become:
https://stackoverflow.com/questions/ask?abc={{}}
We have angular running on our application, it cannot parse this causing unnecessary errors for the webpage.
Does angular have a way of encoding the url before it hits the app?
Details
- Angular 1.6.6
Current Solution
We have a temporary nginx
redirect solution in place but believe its better if we fixed the source of the issue.
We've done a lot of reading into changing the template tags but this is a huge fix.
Expected
We don't use any custom url variables. We want to it not throw an error and function normally as expected when not parse https://stackoverflow.com/questions/ask?abc={{}}