Bug #7911
closedDirect category SEF URLs stuck in infinite loop
Description
URLs to category URLs with a category menu item with SEF enabled can result in an infinite redirect loop, but only if not logged in. Examples as follows.
/janus
/index.php?option=com_comprofiler&view=pluginclass&plugin=cbgroupjive&action=categories&func=show&id=14&Itemid=6613&lang=fr
Logged out = redirect loop
Logged in = redirect to the following
/index.php?option=com_comprofiler&view=pluginclass&plugin=cbgroupjive&action=categories&func=all&Itemid=6613&lang=fr
It's doing this because the Itemid in the redirect is unchanged. In the routing code it's then pulling the menu parameters back in. It then thinks you're just trying to access that menu item all over again. Probably need to add some failsafe code if it sees func value of all.
Not a critical issue since it's an unlikely or odd configuration since the that menu item shouldn't be being used to begin with if the user doesn't have access to that category as menu access should match category access.