Skip to content

Commit 7f790a1

Browse files
authored
Merge pull request #192 from voxik/ruby-3.4
Keep using URI RFC2396 parser
2 parents f6cee94 + 5922698 commit 7f790a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/global_id/uri/gid.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def validate_app(app)
6262
# URI.parse('gid://bcx') # => URI::GID instance
6363
# URI::GID.parse('gid://bcx/') # => raises URI::InvalidComponentError
6464
def parse(uri)
65-
generic_components = URI.split(uri) << nil << true # nil parser, true arg_check
65+
generic_components = URI.split(uri) << URI::RFC2396_Parser.new << true # RFC2396 parser, true arg_check
6666
new(*generic_components)
6767
end
6868

0 commit comments

Comments
 (0)