1
tcnet
XOOPS 2.5 Problem with Javascript in Redirect_Header
  • 2010/11/28 23:14

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


There seems to be a problem with javascript in the redirect_header function since 2.5 upgrade.

This results in an error page now:
redirect_header("javascript:history.go(-1)"3_NOPERM);


Happens with and without jgrowl.

Anyone else having this problem?

2
ghia
Re: XOOPS 2.5 Problem with Javascript in Redirect_Header
  • 2010/11/29 1:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Try
redirect_header$_SERVER['HTTP_REFERER'], 3_NOPERM);

3
tcnet
Re: XOOPS 2.5 Problem with Javascript in Redirect_Header
  • 2010/12/7 14:32

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Alot of older modules use this code in redirects. Shouldn't this be repaired to insure backwards compatibility?

@ghia
Thanks for the fix!

Login

Who's Online

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


Members: 0


Guests: 146


more...

Donat-O-Meter

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

Latest GitHub Commits