[9612] JRoute will not change & to ? on last parameter...

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
Locked
User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

[9612] JRoute will not change & to ? on last parameter...

Post by ianmac » Tue Dec 11, 2007 11:49 pm

For example, take the following input to JRoute::_:
ContentHelperRoute::getCategoryRoute($cat_row->id, $sec_row->id . '&layout=blog' );

This will produce a link like: http://127.0.0.1/j15dev/more-about-joom ... ayout=blog

Since JRoute doesn't parse the layout=blog and put it in the URL, it tacks it on the end of the URL.  This is fine, except that it should instead be:
http://127.0.0.1/j15dev/more-about-joom ... ayout=blog
So that PHP/Joomla! can properly parse the variables.

Ian

Locked

Return to “Joomla! 1.5 Bug Reporting”