2014-11-03 17:00:18 +00:00
|
|
|
foo
|
|
|
|
http://
|
|
|
|
http://example
|
|
|
|
http://example.
|
|
|
|
http://.com
|
|
|
|
http://invalid-.com
|
|
|
|
http://-invalid.com
|
|
|
|
http://invalid.com-
|
2015-07-03 16:35:55 +00:00
|
|
|
http://invalid.c-m
|
2014-11-03 17:00:18 +00:00
|
|
|
http://inv-.alid-.com
|
|
|
|
http://inv-.-alid.com
|
|
|
|
file://localhost/path
|
|
|
|
git://example.com/
|
2014-11-03 17:01:31 +00: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/
|
|
|
|
http://-a.b.co
|
|
|
|
http://a.b-.co
|
2015-06-29 22:09:21 +00:00
|
|
|
http://a.-b.co
|
|
|
|
http://a.b-.c.co
|
2014-11-03 17:01:31 +00:00
|
|
|
http:/
|
|
|
|
http://
|
|
|
|
http://
|
|
|
|
http://1.1.1.1.1
|
|
|
|
http://123.123.123
|
|
|
|
http://3628126748
|
|
|
|
http://123
|
|
|
|
http://.www.foo.bar/
|
|
|
|
http://.www.foo.bar./
|
|
|
|
http://[::1:2::3]:8080/
|
|
|
|
http://[]
|
|
|
|
http://[]:8080
|
2015-10-28 06:54:57 +00:00
|
|
|
http://example..com/
|