cli
cli copied to clipboard
[BUG] *.domain.tld not recognized in NO_PROXY env
Is there an existing issue for this?
- [X] I have searched the existing issues
This issue exists in the latest npm version
- [X] I am using the latest npm
Current Behavior
Currently, only .domain.tld is interpreted in NO_PROXY, wildcard *.domain.tld seem to be handled as actual char.
Expected Behavior
*.domain.tld should match all subdomains.
This should be standardized according to: https://about.gitlab.com/blog/2021/01/27/we-need-to-talk-no-proxy/#standardizing-no_proxy
Steps To Reproduce
- Have
HTTPS_PROXYandHTTP_PROXYset to a proxy (yourproxy.tld) andNO_PROXY="*.domain.tld"to reach a registry. - Run
npx http-server - See error...
Environment
- npm: v8.15.0 (LTS, but same for latest)
- Node.js: v16.17.0 (LTS, but same for latest)
- OS Name: Windows 10
- npm config:
registry=https://server.domain.tld/nexus/repository/npm/