[ruby-core:65094] [ruby-trunk - Feature #10251] URI: Support wildcards (globbing) in no_proxy

From: jbd@...
Date: 2014-09-17 20:07:45 UTC
List: ruby-core #65094
Issue #10251 has been updated by Justin Dossey.


Example should be `*.example.com,192.168.*`

----------------------------------------
Feature #10251: URI: Support wildcards (globbing) in no_proxy
https://bugs.ruby-lang.org/issues/10251#change-48956

* Author: Justin Dossey
* Status: Open
* Priority: Normal
* Assignee: 
* Category: lib
* Target version: 
----------------------------------------
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.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next