1
luckylin
Xoops-Redirect - trim truncated
  • 2004/4/15 21:30

  • luckylin

  • Just popping in

  • Posts: 35

  • Since: 2004/3/5 2


I did a search in the forum but did not see such a topic.
I have a members only page of photo album (myalbum) that was hand-coded to my own block in the homepage with the specific URL;


say it's
..../modules/myalbum/viewcat.php?cid=3&orderby=dateA

when user trys to access this link, if he/she is not logged in, they are supposed to see the user log-in page (user.php) and is ready to redirect to that page after log-in.

Here come the problem:


the URL in the user.php page only trim to the .php, not the parameters, it's -

/user.php?xoops_redirect=%2Fmodules%2Fmyalbum%2Fviewcat.php

so even the user logged in, they are pointed to nowhere.

I checked the code in user.php

Quote:

if (isset($HTTP_GET_VARS['xoops_redirect'])) {
$xoopsTpl->assign('redirect_page', htmlspecialchars(trim($HTTP_GET_VARS['xoops_redirect']), ENT_QUOTES));


but where is the problem?

Is this a bug or just a nature of this Xoops-redirect?

Thanks in advanced.


2
luckylin
Re: Xoops-Redirect - trim truncated
  • 2004/5/3 21:42

  • luckylin

  • Just popping in

  • Posts: 35

  • Since: 2004/3/5 2


.... no one can help me?

3
rune79
Re: Xoops-Redirect - trim truncated
  • 2005/9/19 18:07

  • rune79

  • Just popping in

  • Posts: 13

  • Since: 2005/1/9 1


I have the same problem here, any one able to fix this bug please help.

Login

Who's Online

116 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 116


more...

Donat-O-Meter

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

Latest GitHub Commits