We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16adf53 commit 64f026cCopy full SHA for 64f026c
1 file changed
lib/rubygems/uri.rb
@@ -30,7 +30,7 @@ def self.parse!(uri)
30
begin
31
Gem::URI.parse(uri)
32
rescue Gem::URI::InvalidURIError
33
- Gem::URI.parse(Gem::URI::DEFAULT_PARSER.escape(uri))
+ Gem::URI.parse(Gem::URI::RFC2396_PARSER.escape(uri))
34
end
35
36
0 commit comments