From: "naruse (Yui NARUSE)" Date: 2013-09-17T18:31:44+09:00 Subject: [ruby-core:57246] [ruby-trunk - Bug #8771][Rejected] Start does not use proxy configuration form ENV variables Issue #8771 has been updated by naruse (Yui NARUSE). Status changed from Assigned to Rejected It causes that a client can set http_proxy on CGI environments. see also akr's comment on https://bugs.ruby-lang.org/issues/6546 ---------------------------------------- Bug #8771: Start does not use proxy configuration form ENV variables https://bugs.ruby-lang.org/issues/8771#change-41865 Author: sjltaylor (Sam Taylor) Status: Rejected Priority: Normal Assignee: naruse (Yui NARUSE) Category: lib Target version: current: 2.1.0 ruby -v: 2.1.0dev Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN =begin * Start a fake proxy in a separate window: (({nc -l 8089})) * (({export http_proxy=http://localhost:8089})) * (({irb -r net/http})) * (({Net::HTTP.start('google.com').get('/')})) * Note that the above http request was not proxied using the environment configuration * (({Net::HTTP.new('google.com').get('/')})) exhibits the correct behaviour, the proxied HTTP request can be seen in the nc output =end -- http://bugs.ruby-lang.org/