[Bug 1988290] [NEW] NO_PROXY doesn't work for IPv6 literals
Paride Legovini
1988290 at bugs.launchpad.net
Wed Aug 31 10:10:13 UTC 2022
Public bug reported:
[Partial copypaste from the linked upstream bug.]
Setting
NO_PROXY=localhost,127.0.0.1,::1
enables connections to http://localhost and http://127.0.0.1 and does
not work for http://[::1] at all. Apparently the problem is caused by an
assumption [1] that a hostname cannot contain a colon.
[1]
https://github.com/curl/curl/blob/7e35eb77292fe6464889ddc8329c6a64136f969d/lib/url.c#L2577
** Affects: curl
Importance: Unknown
Status: Unknown
** Affects: curl (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: curl (Ubuntu Bionic)
Importance: Undecided
Status: Triaged
** Also affects: curl (Ubuntu Bionic)
Importance: Undecided
Status: New
** Changed in: curl (Ubuntu Bionic)
Status: New => Triaged
** Changed in: curl (Ubuntu)
Status: New => Fix Released
** Bug watch added: github.com/curl/curl/issues #2353
https://github.com/curl/curl/issues/2353
** Also affects: curl via
https://github.com/curl/curl/issues/2353
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curl in Ubuntu.
https://bugs.launchpad.net/bugs/1988290
Title:
NO_PROXY doesn't work for IPv6 literals
Status in Curl:
Unknown
Status in curl package in Ubuntu:
Fix Released
Status in curl source package in Bionic:
Triaged
Bug description:
[Partial copypaste from the linked upstream bug.]
Setting
NO_PROXY=localhost,127.0.0.1,::1
enables connections to http://localhost and http://127.0.0.1 and does
not work for http://[::1] at all. Apparently the problem is caused by
an assumption [1] that a hostname cannot contain a colon.
[1]
https://github.com/curl/curl/blob/7e35eb77292fe6464889ddc8329c6a64136f969d/lib/url.c#L2577
To manage notifications about this bug go to:
https://bugs.launchpad.net/curl/+bug/1988290/+subscriptions
More information about the foundations-bugs
mailing list