Skip to content

Commit a61c2d6

Browse files
committed
Fix applies to apache_hooks sapi as well. See bug #25753 for details.
1 parent 44df89f commit a61c2d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

sapi/apache_hooks/mod_php5.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,9 @@ static int php_xbithack_handler(request_rec * r)
11751175
}
11761176
if(!AP(xbithack)) {
11771177
r->allowed |= (1 << METHODS) - 1;
1178+
zend_try {
1179+
zend_ini_deactivate(TSRMLS_C);
1180+
} zend_end_try();
11781181
return DECLINED;
11791182
}
11801183
return send_parsed_php(r);

0 commit comments

Comments
 (0)