With Angular4 I can use the following syntax to link to a component:
<a routerLink="MYLINK">link</a>
However the syntax of MYLINK
is unclear to me. Is it a path according to RFC 3986, i.e. does it have to follow URL escaping rules? Or is it a concatenation of unescaped path segments?
For example, would I write
<a routerLink="/root/my%20page">link</a>
or
<a routerLink="/root/my page">link</a>
Is this documented anywhere in Angular?
My expectation would be that when passing a path, the path would have to be URL encoded. When passing an array of segments, the segments would not be URL encoded.