Project

General

Profile

Bug #3103 ยป warn.patch

tenderlovemaking (Aaron Patterson), 04/07/2010 11:59 AM

View differences:

lib/rubygems/remote_fetcher.rb
# Always escape URI's to deal with potential spaces and such
unless URI::Generic === source_uri
source_uri = URI.parse(URI.escape(source_uri))
source_uri = URI.parse(URI.const_defined?(:DEFAULT_PARSER) ?
URI::DEFAULT_PARSER.escape(source_uri) :
URI.escape(source_uri))
end
scheme = source_uri.scheme
    (1-1/1)