2014-11-04 01:00:18 +08:00
|
|
|
foo
|
|
|
|
http://
|
|
|
|
http://example
|
|
|
|
http://example.
|
|
|
|
http://.com
|
|
|
|
http://invalid-.com
|
|
|
|
http://-invalid.com
|
|
|
|
http://invalid.com-
|
2016-02-11 23:39:53 +08:00
|
|
|
http://invalid.-com
|
2014-11-04 01:00:18 +08:00
|
|
|
http://inv-.alid-.com
|
|
|
|
http://inv-.-alid.com
|
|
|
|
file://localhost/path
|
|
|
|
git://example.com/
|
2014-11-04 01:01:31 +08:00
|
|
|
http://.
|
|
|
|
http://..
|
|
|
|
http://../
|
|
|
|
http://?
|
|
|
|
http://??
|
|
|
|
http://??/
|
|
|
|
http://#
|
|
|
|
http://##
|
|
|
|
http://##/
|
|
|
|
http://foo.bar?q=Spaces should be encoded
|
|
|
|
//
|
|
|
|
//a
|
|
|
|
///a
|
|
|
|
///
|
|
|
|
http:///a
|
|
|
|
foo.com
|
|
|
|
rdar://1234
|
|
|
|
h://test
|
|
|
|
http:// shouldfail.com
|
|
|
|
:// should fail
|
|
|
|
http://foo.bar/foo(bar)baz quux
|
|
|
|
http://-error-.invalid/
|
2016-02-11 23:39:53 +08:00
|
|
|
http://dashinpunytld.trailingdot.xn--.
|
|
|
|
http://dashinpunytld.xn---
|
2014-11-04 01:01:31 +08:00
|
|
|
http://-a.b.co
|
|
|
|
http://a.b-.co
|
2015-06-30 06:09:21 +08:00
|
|
|
http://a.-b.co
|
|
|
|
http://a.b-.c.co
|
2014-11-04 01:01:31 +08:00
|
|
|
http:/
|
|
|
|
http://
|
|
|
|
http://
|
|
|
|
http://1.1.1.1.1
|
|
|
|
http://123.123.123
|
|
|
|
http://3628126748
|
|
|
|
http://123
|
2021-05-24 15:55:14 +08:00
|
|
|
http://000.000.000.000
|
|
|
|
http://016.016.016.016
|
|
|
|
http://192.168.000.001
|
|
|
|
http://01.2.3.4
|
|
|
|
http://01.2.3.4
|
|
|
|
http://1.02.3.4
|
|
|
|
http://1.2.03.4
|
|
|
|
http://1.2.3.04
|
2014-11-04 01:01:31 +08:00
|
|
|
http://.www.foo.bar/
|
|
|
|
http://.www.foo.bar./
|
|
|
|
http://[::1:2::3]:8080/
|
|
|
|
http://[]
|
|
|
|
http://[]:8080
|
2015-10-28 14:54:57 +08:00
|
|
|
http://example..com/
|
2015-11-07 18:08:16 +08:00
|
|
|
http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.example.com
|
|
|
|
http://example.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com
|
|
|
|
http://example.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
|
http://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaaaaaaaaa
|
2016-01-22 12:33:34 +08:00
|
|
|
https://test.[com
|
2020-02-02 18:15:42 +08:00
|
|
|
http://@example.com
|
|
|
|
http://:@example.com
|
|
|
|
http://:bar@example.com
|
2018-07-23 22:30:01 +08:00
|
|
|
http://foo@bar@example.com
|
|
|
|
http://foo/bar@example.com
|
|
|
|
http://foo:bar:baz@example.com
|
|
|
|
http://foo:bar@baz@example.com
|
|
|
|
http://foo:bar/baz@example.com
|
|
|
|
http://invalid-.com/?m=foo@example.com
|