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

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 -


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

I checked the code in user.php


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.

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?

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.


Who's Online

73 user(s) are online (46 user(s) are browsing Support Forums)

Members: 0

Guests: 73



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

Latest GitHub Commits