Re: Re: policy on magic quotes

From: Date: Tue, 08 Feb 2005 00:50:40 +0000
Subject: Re: Re: policy on magic quotes
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36022@lists.php.net to get a copy of this message
$var = get_magic_quotes_gpc() ? stripslashes($var) : $var;
Only code that deals directly with $_GET/$_POST etc should do anything like the above. - since most of PEAR is libraries and do not directly deal with this, It does not affect most packages. The only exceptions I know of are: Pager - not sure what it does Quickforms - handles it AFAIK Auth - handles it AFAIK. Generally If the packages deals directly with input, I would presume it should handle it. Regards Alan
appropriately.. at least any NEW development. S


« previous php.pear.dev (#36022) next »