mirror of
https://github.com/django/django.git
synced 2024-12-30 13:05:45 +00:00
8f9a4d3a2b
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.
52 lines
743 B
Plaintext
52 lines
743 B
Plaintext
foo
|
|
http://
|
|
http://example
|
|
http://example.
|
|
http://.com
|
|
http://invalid-.com
|
|
http://-invalid.com
|
|
http://invalid.com-
|
|
http://invalid.c-m
|
|
http://inv-.alid-.com
|
|
http://inv-.-alid.com
|
|
file://localhost/path
|
|
git://example.com/
|
|
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
|
|
http://a.-b.co
|
|
http://a.b-.c.co
|
|
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
|