Bug #3103 ยป warn.patch
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
|