1
zer0fill
Xoops stripping out single quotes in $_SESSION (Fix inside)
  • 2004/1/2 8:56

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


I originally posted the help question in the dev forums but ended up finding the fix.

find file: kernel/session.php line ~117
function write($sess_id$sess_data)
{

add the line after open brace
function write($sess_id$sess_data)
{
  
$sess_data addslashes($sess_data);


stripslashes() is NOT need in the reader

Login

Who's Online

183 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 183


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