diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-08-05 16:35:53 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-08-05 08:00:14 +0000 |
| commit | a82976bc9002befdaed3498167136793bed4c0c5 (patch) | |
| tree | e77e0b7f20667d201c3e11455581b31597639770 /lib | |
| parent | b59cbcf1838fe7e930babf311e8a4a32cfee2f6a (diff) | |
[ruby/uri] Use DEFAULT_PARSER at split, parse, join
https://github.com/ruby/uri/commit/28af4e155a
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/uri/common.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb index a29a348c86..e31e0abcc0 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -181,7 +181,7 @@ module URI # ["fragment", "top"]] # def self.split(uri) - RFC3986_PARSER.split(uri) + DEFAULT_PARSER.split(uri) end # Returns a new \URI object constructed from the given string +uri+: @@ -195,7 +195,7 @@ module URI # if it may contain invalid URI characters. # def self.parse(uri) - RFC3986_PARSER.parse(uri) + DEFAULT_PARSER.parse(uri) end # Merges the given URI strings +str+ @@ -222,7 +222,7 @@ module URI # # => #<URI::HTTP http://example.com/foo/bar> # def self.join(*str) - RFC3986_PARSER.join(*str) + DEFAULT_PARSER.join(*str) end # |
