1
[XOOPS 2.2.3a-final]
If I click a link in a notification email, and the link goes to a page that requires that I be logged in, and I'm not currently logged in, then I get redirected to the login page. Ok, that's cool so far. But then after I log in, I don't automatically get redirected to the original link I was trying to access.
user.php has some code that seems to be trying to solve this issue, e.g.:
if (isset($_GET['xoops_redirect'])) {
$xoopsTpl->assign('redirect_page', htmlspecialchars(trim($_GET['xoops_redirect']), ENT_QUOTES));
}
The url parameter 'xoops_redirect' contains the original link from the notification.
But that code doesn't appear to actually do anything.
Is this a bug that needs to be fixed? Or if XOOPS is working as designed, has anyone written a hack or patch to solve the problem?