-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
bugIssue: Works not as designedIssue: Works not as designedoutdatedIssue/PR: Open for more than 3 monthsIssue/PR: Open for more than 3 months
Description
Hello,
Here are some scenarios where url shows unexpected behaviour:
url('http://:[email protected]:80/path')returnsTruewhile it should throwValidationFailureas it is invalid userinfo and password format (missing user). A valid one:http://user:[email protected]:80/path- no check on ports above max limit of 16-bit unsigned integer: validation
http://example.rocks:65536/should fail http://www.example.org/../worldis invalid buturlgivesTrue.http://www.example.org/..also should be invalid- A test from validators library,
http://a.b--c.de/should be valid as per https://tools.ietf.org/html/rfc3986#page-49 but it throwsValidationFailure
Metadata
Metadata
Assignees
Labels
bugIssue: Works not as designedIssue: Works not as designedoutdatedIssue/PR: Open for more than 3 monthsIssue/PR: Open for more than 3 months