mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
This commit is contained in:
commit
b0f09b69d3
1 changed files with 3 additions and 1 deletions
|
@ -1016,7 +1016,9 @@ SAPI_API char *sapi_getenv(char *name, size_t name_len TSRMLS_DC)
|
|||
} else {
|
||||
return NULL;
|
||||
}
|
||||
sapi_module.input_filter(PARSE_ENV, name, &value, strlen(value), NULL TSRMLS_CC);
|
||||
if (sapi_module.input_filter) {
|
||||
sapi_module.input_filter(PARSE_ENV, name, &value, strlen(value), NULL TSRMLS_CC);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue