]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
KNOWN_BUGS: 'no_proxy' string-matches IPv6 numerical addreses
authorDaniel Stenberg <daniel@haxx.se>
Sat, 22 Aug 2020 21:50:14 +0000 (23:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 22 Aug 2020 22:09:39 +0000 (00:09 +0200)
Also: the current behavior is now documented in the curl.1 and
CURLOPT_NOPROXY.3 man pages.

Reported-by: Andrew Barnes
Closes #5745
Closes #5841

docs/KNOWN_BUGS
docs/cmdline-opts/page-footer
docs/libcurl/opts/CURLOPT_NOPROXY.3

index e35172dafe93aad212b1d2564cc0dd8ea65cc556..bc77913b65e1d1bc039b43ef3d6e758d07870e6c 100644 (file)
@@ -104,6 +104,7 @@ problems may have been fixed or changed somewhat since this was written!
  11.9 DoH doesn't inherit all transfer options
  11.10 Blocking socket operations in non-blocking API
  11.11 A shared connection cache is not thread-safe
+ 11.12 'no_proxy' string-matches IPv6 numerical addreses
 
  12. LDAP and OpenLDAP
  12.1 OpenLDAP hangs after returning results
@@ -762,6 +763,13 @@ problems may have been fixed or changed somewhat since this was written!
 
  See https://github.com/curl/curl/issues/4915
 
+11.12 'no_proxy' string-matches IPv6 numerical addreses
+
+ This has the downside that "::1" for example doesn't match "::0:1" even
+ though they are in fact the same address.
+
+ See https://github.com/curl/curl/issues/5745
+
 12. LDAP and OpenLDAP
 
 12.1 OpenLDAP hangs after returning results
index 2a65b84f3bb5908aedf802c7be7856f3f2b5fcb9..f151f2b582f3a6bc14161f60ea0ae9fdb7daf0bd 100644 (file)
@@ -36,6 +36,10 @@ accesses the target URL through the proxy.
 
 The list of host names can also be include numerical IP addresses, and IPv6
 versions should then be given without enclosing brackets.
+
+IPv6 numerical addresses are compared as strings, so they will only match if
+the representations are the same: "::1" is the same as "::0:1" but they don't
+match.
 .IP "CURL_SSL_BACKEND <TLS backend>"
 If curl was built with support for "MultiSSL", meaning that it has built-in
 support for more than one TLS backend, this environment variable can be set to
index 495fad6fd02a5910b74cac2228d7a6d956504e70..5aa6feedecb9109f83e6a1b44310cbf63faaf749 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -49,6 +49,10 @@ brackets:
 
  "example.com,::1,localhost"
 
+IPv6 numerical addresses are compared as strings, so they will only match if
+the representations are the same: "::1" is the same as "::0:1" but they don't
+match.
+
 The application does not have to keep the string around after setting this
 option.
 .SH "Environment variables"