Project

General

Profile

Actions

Feature #10251

open

URI: Support wildcards (globbing) in no_proxy

Added by justindossey (Justin Dossey) about 7 years ago. Updated almost 6 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:65090]

Description

The current implementation of URI#find_proxy will only exclude exact matches when processing the no_proxy environment variable.

This diverges from the commonly-used no_proxy specification that supports globs (e.g. .example.com, 192.168.).

Adding globbing support (perhaps using File.fnmatch) would make URI behave the same as other implementations.

Actions

Also available in: Atom PDF