Hrm.. So Sybase does not need nulls escaped? Are you sure? Isn't the correct fix to make stripslashes() check for \0 ?
-Rasmus On Wed, 3 Oct 2001, James L. Pine wrote: > 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 > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]