-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update URI::Generic.build/build2 to use RFC3986_PARSER
In bb83f32, a new URI parser was introduced to support RFC3986, where previously support was limited to RFC2396. The default parser used by URI() was updated to point to the new parser. However, the parser used by URI::Generic.build and build2 still points at the old parser. Among other things this means that hostnames with underscores can't correctly be parsed by this method. This commit switches to explicitly use the newer parser for these methods, and adds a previously failing test that now passes.
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters