mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
Check the status properly
This commit is contained in:
@@ -538,7 +538,7 @@ zend_first_try {
|
||||
} else {
|
||||
parent_req = ctx->r;
|
||||
/* check if comming due to ErrorDocument */
|
||||
if (parent_req != HTTP_OK) {
|
||||
if (parent_req && parent_req->status != HTTP_OK) {
|
||||
parent_req = NULL;
|
||||
goto normal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user