Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Uri.parse instead of Utils.URI #1485

Merged
merged 1 commit into from
Jan 20, 2023
Merged

Conversation

iMacTia
Copy link
Member

@iMacTia iMacTia commented Jan 20, 2023

Description

Utils.URI can be configured to use a different parser and return an object that "behaves like a URI". However, opaque is not available in other objects (e.g. Addressable::URI), so in this instance we need to use URI.

Fixes #1484

Utils.URI can be configured to use a different parser and return an object that "behaves like a URI". However, `opaque` is not available in other objects (e.g. Addressable::URI), so in this instance we need to use URI.

Fixes #1484
@iMacTia iMacTia requested a review from olleolleolle January 20, 2023 14:32
Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@iMacTia iMacTia merged commit 2b9a624 into main Jan 20, 2023
@iMacTia iMacTia deleted the fix/#1484-custom-uri-parser branch January 20, 2023 14:53
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.

2.7.3 breaks compatibility with Addressable as URI parser
2 participants