From e5e17578bf76419d17b59f784aff93d247072ef6 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Sat, 6 Dec 2008 17:25:35 +0000 Subject: [PATCH] MFB: Back out bugfix for #42718 as this broke magic_quotes_gpc --- ext/filter/filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0