On Joomla 1.7, Joomla allows commas in the alias. Mod_security 404s on pages with commas in the URL for security.
Gavick News Show Pro is a module for listing latest news on the homepage. The links it creates to interior pages includes aliases with the comma which we need to get stripped.
In the Gavick code it gets links this way:
$link = ($news_id !== 0) ? JRoute::_(ContentHelperRoute::getArticleRoute($news_id, $news_cid)) : JRoute::_('index.php?option=com_user&view=login');
Which produces a link such as:
To note, SEF is not enabled on this site, and cannot be for security reasons. Hopefully rather than a discussion about our particular security requriments someone will be able to help resolve our issue.
Is there another method to get $link other than JRoute that will not include those aliases in the title? Example code would be great. Thank you!
Note to simplify, this code always does the same thing:
$link = JRoute::_(ContentHelperRoute::getArticleRoute($news_id, $news_cid));