summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2016-07-12 21:35:02 -0700
committerStanislav Malyshev <stas@php.net>2016-07-12 21:35:02 -0700
commitaca4f65c7e98b9f07ac625eaf6be8eadbeb55929 (patch)
tree9340e0ecbfa34b91a43d2b85ba55b043641b61a9 /main/php_variables.c
parent98b9dfaec95e6f910f125ed172cdbd25abd006ec (diff)
downloadphp-git-aca4f65c7e98b9f07ac625eaf6be8eadbeb55929.tar.gz
CS fix and comments with bug ID
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index bbe57d3955..5977a5ed97 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -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");