Hi all,
wouldn’t it be nice to be able to initialize once for all, the URL parameter separator, in the configuration ? This way, this $ampersand argument which is set by default to ‘&’ in all calls to createUrl, could be set by default to whatever is configured.
array(
......
'components'=>array(
......
'urlManager'=>array(
'ampersand'=>'&',
),
),
);
The reason beyond that is that valid xhtml pages must contains links with ‘&’ as separator (instead of ‘&’ which is reserved for entities).
Read the complete post here
what do you think ?
ciao