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
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,
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 backsl