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

From: ruby@...
Date: 2015-11-25 00:56:56 UTC
List: ruby-core #71667
Issue #10251 has been updated by sergio patino.


+1 to resolve this. 

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

* Author: Justin Dossey
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
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