Project

General

Profile

Actions

Bug #7911

closed

Direct category SEF URLs stuck in infinite loop

Added by krileon over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
03 April 2020
Due date:
% Done:

100%

Estimated time:

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.

https://www.joomlapolis.com/forum/255-developer-members-support/242305-groupjive-router?start=6#317571

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.

Actions

Also available in: Atom PDF