angular.io
angular.io copied to clipboard
Explain Router module URL encoding and custom alternatives
The Router module is encoding and decoding the URL; would be useful to mention it in the documentation and explain possible custom modification to this behaviour.
For example we have situations where other pages (outside the Angular application) submit an URL to the Angular 2 application and that URL has already an encoding resulting in a double encoding by the Router module.
Probably everyone using Angular 2 is using also the Router, but should also be clear that if not using the Router the behaviour is changing because none will touch the URL.