Closed thekid closed 8 years ago
On Windows/Cygwin, this is not a problem as environment variables are case-preserving, but case-insensitive.
C:\tools\cygwin\home\Timm>set USER=Timm
C:\tools\cygwin\home\Timm>.\bin\xp.exe -w "getenv('USER')"
Timm
C:\tools\cygwin\home\Timm>.\bin\xp.exe -w "getenv('user')"
Timm
Not so on Mac/Unix:
vagrant@vagrant-ubuntu-vivid-64:~$ xp -w 'getenv("USER")'
vagrant
vagrant@vagrant-ubuntu-vivid-64:~$ xp -w 'getenv("user")'
false
The
NO_PROXY
environment variable is not taken into account (whileno_proxy
is). Some programs expect this to be in all-caps, see https://wiki.archlinux.org/index.php/Proxy_settings.See also https://www.npmjs.com/package/proxy-from-env and https://www.gnu.org/software/wget/manual/wget.html#Proxies
/cc @kiesel