proxy-from-env icon indicating copy to clipboard operation
proxy-from-env copied to clipboard

Matching domain suffixes (leading . problem)

Open Roemer opened this issue 5 months ago • 0 comments

Currently when using this library, using a no_proxy like mydomain.com will not match sub.mydomain.com.

There are plenty of discussions about standardization of proxy env variables and as far as I know, the general consensus is that the above should match and that no_proxy configuration should not need a leading ..

One of the best articles regarding this is here: https://about.gitlab.com/blog/we-need-to-talk-no-proxy

It would be great if this library could be adjusted to be in-line with most other tools.

Roemer avatar Aug 06 '25 08:08 Roemer