Re: About dropping magic_quotes in 5.3 (was: Re: [PHP-DEV] Re: PHP 5.2.7 + magic_quotes_gpc broken)
| From: | Johannes Schlüter | Date: | Mon, 08 Dec 2008 16:19:52 +0000 |
| Subject: | Re: About dropping magic_quotes in 5.3 (was: Re: [PHP-DEV] Re: PHP 5.2.7 + magic_quotes_gpc broken) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42158@lists.php.net to get a copy of this message | ||
Hi,
On Mon, 2008-12-08 at 16:03 +0000, Richard Quadling wrote:
> But I also understand it is pretty shitty to miss a 1 liner (magic
> quotes removed) and find everything broken and then to be told
> RTFM/RTFCL.
There's a difference between this and other breaks: Most other BC breaks
change the behavior in a way you can easily spot, the magic_quotes issue
will only be spotted when actually testing for it - using the PHP app as
it is supposed will work like a charm. Only when adding " or ' you get
an SQL error ... which is a big security issue. (which again is
different from other BC breaks which just result in not working code)
I don't safe stuff relying on magic_quotes is safe but kicking it will
open up way more attack vectors... :-(
johannes