]> git.pld-linux.org Git - packages/php.git/commitdiff
- bugfix for broken magic_quotes_gpc handling
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 7 Dec 2008 12:12:42 +0000 (12:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-broken_filter_and_magic_quotes.patch -> 1.1

php-broken_filter_and_magic_quotes.patch [new file with mode: 0644]

diff --git a/php-broken_filter_and_magic_quotes.patch b/php-broken_filter_and_magic_quotes.patch
new file mode 100644 (file)
index 0000000..53861fe
--- /dev/null
@@ -0,0 +1,11 @@
+--- php-src/ext/filter/filter.c        2008/11/02 22:04:40     1.52.2.43
++++ php-src/ext/filter/filter.c        2008/12/06 17:16:36     1.52.2.44
+@@ -403,7 +403,7 @@
+               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);
This page took 0.108368 seconds and 4 git commands to generate.