]> granicus.if.org Git - php/commitdiff
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
authorRasmus Lerdorf <rasmus@php.net>
Wed, 28 Jan 2004 17:59:07 +0000 (17:59 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 28 Jan 2004 17:59:07 +0000 (17:59 +0000)
sapi/apache_hooks/mod_php5.c

index 8551ad0dd8fe579f0cb0b763a28c1e47fb2697ef..b15f3604752e67b27643d81f1b08d78c18e6dca9 100644 (file)
@@ -1175,6 +1175,9 @@ static int php_xbithack_handler(request_rec * r)
        }
        if(!AP(xbithack)) {
                r->allowed |= (1 << METHODS) - 1;
+               zend_try {
+                       zend_ini_deactivate(TSRMLS_C);
+               } zend_end_try();
                return DECLINED;
        }
        return send_parsed_php(r);