mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
Merge branch 'PHP-5.6'
* PHP-5.6: Fix bug #67587: Redirection loop on nginx with FPM Fix bug #67587: Redirection loop on nginx with FPM
This commit is contained in:
commit
ef2f12ec84
@ -606,6 +606,7 @@ PHP_METHOD(Phar, webPhar)
|
||||
}
|
||||
|
||||
if ((strlen(sapi_module.name) == sizeof("cgi-fcgi")-1 && !strncmp(sapi_module.name, "cgi-fcgi", sizeof("cgi-fcgi")-1))
|
||||
|| (strlen(sapi_module.name) == sizeof("fpm-fcgi")-1 && !strncmp(sapi_module.name, "fpm-fcgi", sizeof("fpm-fcgi")-1))
|
||||
|| (strlen(sapi_module.name) == sizeof("cgi")-1 && !strncmp(sapi_module.name, "cgi", sizeof("cgi")-1))) {
|
||||
|
||||
if (PG(http_globals)[TRACK_VARS_SERVER]) {
|
||||
|
Loading…
Reference in New Issue
Block a user