From: Scott MacVicar Date: Sat, 6 Dec 2008 17:25:35 +0000 (+0000) Subject: MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc X-Git-Tag: php-5.3.0beta1~500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5e17578bf76419d17b59f784aff93d247072ef6;p=php MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc --- diff --git a/ext/filter/filter.c b/ext/filter/filter.c index bbdce12d65..da595c6646 100644 --- a/ext/filter/filter.c +++ b/ext/filter/filter.c @@ -440,7 +440,7 @@ static unsigned int php_sapi_filter(int arg, char *var, char **val, unsigned int Z_STRLEN(new_var) = val_len; Z_TYPE(new_var) = IS_STRING; - if (IF_G(default_filter) != FILTER_UNSAFE_RAW || IF_G(default_filter_flags) != 0) { + if (IF_G(default_filter) != FILTER_UNSAFE_RAW) { zval *tmp_new_var = &new_var; Z_STRVAL(new_var) = estrndup(*val, val_len); INIT_PZVAL(tmp_new_var);