quick addslashes bugfix

From: Date: Wed, 03 Oct 2001 07:41:56 +0000
Subject: quick addslashes bugfix
Groups: php.dev 
Request: Send a blank email to php-dev+get-67190@lists.php.net to get a copy of this message
addslashes currently backslash escapes \0 regardless of the value of magic_quotes_sybase. if magic_quotes_sybase is on, it should not do so. a patch to change this is very small and simple. see attached. this is a particularly bad thing to leave unpatched, as stripslashes will not remove backslash escaping of nulls if magic_quotes_sybase is on. I do not have sufficient karma to commit this anywhere, but I'd like to see it considered for the RC branch, as it's a small obvious fix. --jlp

« previous php.dev (#67190) next »