Actions
Feature #19018
closeduri/generic: Support CIDR blocks in comma-delimited entries in no_proxy
Feature #19018:
uri/generic: Support CIDR blocks in comma-delimited entries in no_proxy
Status:
Closed
Assignee:
-
Target version:
-
Description
Currently URI::Generic.use_proxy?
does not treat the no_proxy
strings as a comma-delimited value: https://github.com/ruby/ruby/blob/0ed71b37fa9af134fdd5a7fd1cebd171eba83541/lib/uri/generic.rb#L1545-L1564
That means that it's not possible to specify multiple rules, such as:
no_proxy=.example.com,192.168.0.0/8
While there's no official standard for no_proxy
(https://about.gitlab.com/blog/2021/01/27/we-need-to-talk-no-proxy/), Python and Golang split the comma.
Actions