Skip to content

Conversation

@stephenb-work
Copy link

@stephenb-work stephenb-work commented Oct 31, 2025

JIRA

Ruby binding/gem (v 0.40.0) is broken for projects using a recent URI gem version. For me it broke with ruby 3.3.6 and URI 1.0.3.

This fix replaces the ruby version check with a check on what the URI::DEFAULT_PARSER is. If it is Rfc3986Parser, we then explicitly use the other parser. Earlier ruby/URI versions do not have separate classes for parsers, it was just Parser. And that is why this is explicitly checking for the new one, versus checking if URI::DEFAULT_PARSER is Rfc2396Parser.

Note: The RUBY_VERSION check was added in this previous MR: #439

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant