NO_PROXY doesn't work for IPv6 literals

Bug #1988290 reported by Paride Legovini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Curl
Fix Released
Unknown
curl (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Triaged
Undecided
Unassigned

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

Revision history for this message
Paride Legovini (paride) wrote :
Changed in curl (Ubuntu Bionic):
status: New → Triaged
Changed in curl (Ubuntu):
status: New → Fix Released
description: updated
Changed in curl:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.