Re: quick addslashes bugfix

From: Date: Wed, 03 Oct 2001 17:58:19 +0000
Subject: Re: quick addslashes bugfix
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67226@lists.php.net to get a copy of this message
On Wed, 3 Oct 2001, Rasmus Lerdorf wrote: > Hrm.. So Sybase does not need nulls escaped? Are you sure? > > Isn't the correct fix to make stripslashes() check for \0 ? > > -Rasmus I don't have a sybase setup on which to test, but oracle uses the same addslashes method and should not have nulls escaped. I checked sybase documentation and saw nothing about escaping nulls... if anyone can answer authoritatively one way or the other for sybase, it would be a good thing. if no one answers before the weekend, I'll set up a sybase server and test myself. --jlp

« previous php.dev (#67226) next »