1
Mithrandir
Text sanitizer fix test

Another possible fix:

/class/module.textsanitizer.php, line 158
function [d]&[/d]xoopsCodeDecode(&$text$allowimage 1)

and on line 233:
[d]$text =[/d][color=ff0000]return[/colorpreg_replace($patterns$replacements$text);


Does that fix the fatal error on line 168 as has been reported?

Preferably test this on PHP 4.3.11 or earlier
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

2
phppp
Re: Text sanitizer fix test
  • 2005/8/30 12:46

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


I spent some time testing module.textsanitizer.php by switching references, including the above one.

For my case, the problem was tracked down to calling function "codePreConv" and "codeConv" in "function displayTarea()".
I am not sure whether the problem exists in the two/either functions, or references are not used properly in other places and cause error in module.textsanitizer.php.

Was not able to get more time for test.

3
Mithrandir
Re: Text sanitizer fix test

I can't get that error to show up (but I'm on PHP 5.1 so... and I'm not touching our production server that is running PHP 4.3.11) so I'm fighting somewhat in the blind.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Login

Username:
Password:

Lost Password? Register now!

Who's Online

77 user(s) are online (31 user(s) are browsing Support Forums)


Members: 0


Guests: 77


more...

Donat-O-Meter

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

Latest GitHub Commits