Skip to content

uri: align Generic parser default with URI.parser#220

Open
dmrAnderson wants to merge 1 commit intoruby:masterfrom
dmrAnderson:fix/generic-parser-default-regression
Open

uri: align Generic parser default with URI.parser#220
dmrAnderson wants to merge 1 commit intoruby:masterfrom
dmrAnderson:fix/generic-parser-default-regression

Conversation

@dmrAnderson
Copy link
Copy Markdown

@dmrAnderson dmrAnderson commented Apr 12, 2026

This pull request updates the default URI parser logic in the URI::Generic class to use the current global parser (URI::PARSER) instead of the previous constant (URI::DEFAULT_PARSER).

It also adds tests to ensure that both build and new methods respect the global parser setting when the parser argument is omitted.

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