From f22f08a0dfa8843b9f0c10e9227cd8890e64cb46 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 5 Apr 2026 16:24:37 +0200 Subject: [PATCH] docs: noproxy wants the punycoded hostname version Reported-by: Mehtab Zafar Closes #21228 --- docs/cmdline-opts/noproxy.md | 3 +++ docs/libcurl/opts/CURLOPT_NOPROXY.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/cmdline-opts/noproxy.md b/docs/cmdline-opts/noproxy.md index 698549e155..10b74ecbf4 100644 --- a/docs/cmdline-opts/noproxy.md +++ b/docs/cmdline-opts/noproxy.md @@ -22,6 +22,9 @@ as either a domain which contains the hostname, or the hostname itself. For example, `local.com` would match `local.com`, `local.com:80`, and `www.local.com`, but not `www.notlocal.com`. +To use international hostnames in this list, add the punycode version of the +hostname. + This option overrides the environment variables that disable the proxy (`no_proxy` and `NO_PROXY`) (added in 7.53.0). If there is an environment variable disabling a proxy, you can set the no proxy list to "" to override diff --git a/docs/libcurl/opts/CURLOPT_NOPROXY.md b/docs/libcurl/opts/CURLOPT_NOPROXY.md index 5e8fdb1959..087a49f5b9 100644 --- a/docs/libcurl/opts/CURLOPT_NOPROXY.md +++ b/docs/libcurl/opts/CURLOPT_NOPROXY.md @@ -48,6 +48,9 @@ appended slash and number specifies the number of "network bits" out of the address to use in the comparison. For example "192.168.0.0/16" would match all addresses starting with "192.168". +To use international hostnames in this list, add the punycode version of the +hostname. + The application does not have to keep the string around after setting this option.