diff options
author | Hiroshi SHIBATA <[email protected]> | 2025-05-09 12:17:15 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-05-09 14:27:28 +0900 |
commit | d3c472781dec4fe415203fbb898d8b1f7b538eb0 () | |
tree | f3fb6c64d9ed34d2f34964701ee4e403cc688d3b /lib/bundler | |
parent | ab19b1f6297e171d72a5b6a9cb00fc9ee3178170 (diff) |
Replaced CGI.parse with URI.decode_www_form
Notes: Merged: https://.com/ruby/ruby/pull/13275
-rw-r--r-- | lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,10 +1,9 @@ require_relative '../../../../../vendored_net_http' require_relative '../../../../../vendored_uri' -# for escaping begin require 'cgi/escape' rescue LoadError - require 'cgi' end require_relative '../../../../connection_pool/lib/connection_pool' @@ -787,7 +786,7 @@ class Gem::Net::HTTP::Persistent @proxy_connection_id = [nil, *@proxy_args].join ':' if @proxy_uri.query then - @no_proxy = CGI.parse(@proxy_uri.query)['no_proxy'].join(',').downcase.split(',').map { |x| x.strip }.reject { |x| x.empty? } end end |