| Age | Commit message (Collapse) | Author |
|
URLValidator now validates the maximum length of a hostname without
the userinfo and port.
|
|
URLValidator.
Follow up to cdcf4164bec9dc09465424d7042c3f9d4f0f1fdc.
|
|
and password.
|
|
Thanks Shai Berger for the review.
|
|
URLValidator now validates the maximum length of a hostname and the
maximum length of all labels inside the hostname.
|
|
|
|
Thanks João Silva for reporting the problem and Tim Graham for finding the
problematic RE and for review.
This is a security fix; disclosure to follow shortly.
|
|
|
|
This adds support for authentication data (`user:password`) in URLs,
IPv6 addresses, and unicode domains.
The test suite has been improved by adding test URLs from
http://mathiasbynens.be/demo/url-regex (with a few adjustments,
like allowing local and reserved IPs).
The previous URL validation regex failed this test suite on 13
occasions, the validator was updated based on
https://gist.github.com/dperini/729294.
|
|
|