[ruby-cvs:70543] naruse:r63452 (trunk): http_proxy setting should respect both parent domain and subdomain

naruse at ruby-lang.org naruse at ruby-lang.org
Thu May 17 16:40:01 JST 2018


naruse	2018-05-17 16:40:01 +0900 (Thu, 17 May 2018)

  New Revision: 63452

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63452

  Log:
    http_proxy setting should respect both parent domain and subdomain
    
    URI::Generic: Respect no_proxy for both parent domain and
    subdomains It is now possible to add just the subdomains for proxy bypass. In
    a setting where the main domain needs to go through proxy while the
    subdomains don't, it is now possible to just add the subdomains to the
    no_proxy list.
    The assumption that subdomains and the parent domain should
    behave the same wrt no_proxy has been removed.
    
    eg: Adding .example.com in no_proxy would allow example.com
    to go through the proxy.
    
    From: Harsimran Singh Maan <maan.harry at gmail.com>
    fix https://github.com/ruby/ruby/pull/1748
    [Bug #14345]

  Modified files:
    trunk/lib/uri/generic.rb
    trunk/test/uri/test_generic.rb


More information about the ruby-cvs mailing list