-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For URLs without a special scheme we cannot use the host parser directly due to compatibility issues. Instead we percent-encode the input. Also make sure that if "userinfo" or port is present, host is non-empty. Tests: web-platform-tests/wpt#4406. Fixes #148 and fixes #214.
- Loading branch information
Showing
1 changed file
with
110 additions
and
56 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