Re: [PHP-DEV] quick addslashes bugfix

2001-10-03 Thread James L. Pine
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

Re: [PHP-DEV] quick addslashes bugfix

2001-10-03 Thread Rasmus Lerdorf
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,