You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…RI::RFC2396_PARSER.make_regexp explicitly.` warning
This commit addresses `warning: URI::RFC3986_PARSER.make_regexp is obsoleted. Use URI::RFC2396_PARSER.make_regexp explicitly.` warning
Ruby 3.4 changes URI::DEFAULT_PARSER to URI::RFC3986_Parser and deprecates URI::RFC3986_PARSER.make_regexp.
This commit uses `URI::RFC2396_PARSER` only if it is available for these versions:
- `uri` v0.12.2 for Ruby 3.2/3.1
- `uri` v0.13.1 for Ruby 3.3
- Ruby 3.4.0dev
Fixteamcapybara#2778
Refer https://bugs.ruby-lang.org/issues/19266
Capybara calls the method in a couple places:
This results in a verbose-mode warning when using Ruby 3.4.0-preview2:
We recently worked around this issue in Rack (rack/rack@3d0b9f3), you may want to use a similar approach.
The text was updated successfully, but these errors were encountered: