mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
CS fix and comments with bug ID
This commit is contained in:
parent
98b9dfaec9
commit
aca4f65c7e
2 changed files with 4 additions and 3 deletions
|
@ -1012,7 +1012,7 @@ SAPI_API struct stat *sapi_get_stat(TSRMLS_D)
|
|||
SAPI_API char *sapi_getenv(char *name, size_t name_len TSRMLS_DC)
|
||||
{
|
||||
if (!strncasecmp(name, "HTTP_PROXY", name_len)) {
|
||||
/* Ugly fix for HTTP_PROXY issue */
|
||||
/* Ugly fix for HTTP_PROXY issue, see bug #72573 */
|
||||
return NULL;
|
||||
}
|
||||
if (sapi_module.getenv) {
|
||||
|
|
|
@ -722,8 +722,9 @@ static zend_bool php_auto_globals_create_files(const char *name, uint name_len T
|
|||
return 0; /* don't rearm */
|
||||
}
|
||||
|
||||
/* Upgly hack to fix HTTP_PROXY issue */
|
||||
static void check_http_proxy(HashTable *var_table) {
|
||||
/* Upgly hack to fix HTTP_PROXY issue, see bug #72573 */
|
||||
static void check_http_proxy(HashTable *var_table)
|
||||
{
|
||||
if (zend_hash_exists(var_table, "HTTP_PROXY", sizeof("HTTP_PROXY"))) {
|
||||
char *local_proxy = getenv("HTTP_PROXY");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue