]> granicus.if.org Git - php/commit
Fix for HTTP_PROXY issue.
authorStanislav Malyshev <stas@php.net>
Sun, 10 Jul 2016 23:17:54 +0000 (16:17 -0700)
committerStanislav Malyshev <stas@php.net>
Sun, 10 Jul 2016 23:21:11 +0000 (16:21 -0700)
commit98b9dfaec95e6f910f125ed172cdbd25abd006ec
tree9b8cd9fcbfaea47b82798e7c191e9a67f91f0ce7
parentb63d41e1e5cec186c06368a1fd9fd5d56be1994d
Fix for HTTP_PROXY issue.

The following changes are made:
- _SERVER/_ENV only has HTTP_PROXY if the local environment has it,
  and only one from the environment.
- getenv('HTTP_PROXY') only returns one from the local environment
- getenv has optional second parameter, telling it to only consider
  local environment
UPGRADING
ext/standard/basic_functions.c
main/SAPI.c
main/php_variables.c