Details
-
Bug
-
Resolution: Unresolved
-
High
-
2.5.6
-
None
Description
When i try to create an URLAlias with two dashes (from two special characters /-, the created URLAlias only contains one dash. This is bad enough, as we use URLAliases for migration purposes, and the current page has a url /lorem–ipsum.html which i want to redirect but cannot.
Also, when i check, if this url exists, it fails, but creating fails also
// Throws a NotFoundException $urlAliasSvc->lookup('/lorem--ipsum.html'); // Throws an InvalidArgumentException $urlAliasSvc->createUrlAlias($location,'/lorem--ipsum.html','eng-GB',true);
It would be great if the double-dash conversion was beeing removed, parameterized or at least transparent.