mirror of
https://github.com/php/php-src.git
synced 2024-11-29 21:04:10 +08:00
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
This commit is contained in:
parent
44df89f00d
commit
a61c2d667c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user