1
Dave_L
Using links in notification emails
  • 2005/11/14 23:05

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


[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?

Login

Who's Online

307 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 307


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits