Added more test cases with port numbers for URLValidator.
This commit is contained in:
parent
83022d279c
commit
b96cc7f85e
|
@ -2,6 +2,10 @@ foo
|
|||
http://
|
||||
http://example
|
||||
http://example.
|
||||
http://example.com:-1
|
||||
http://example.com:-1/
|
||||
http://example.com:000000080
|
||||
http://example.com:000000080/
|
||||
http://.com
|
||||
http://invalid-.com
|
||||
http://-invalid.com
|
||||
|
|
|
@ -2,6 +2,8 @@ http://www.djangoproject.com/
|
|||
HTTP://WWW.DJANGOPROJECT.COM/
|
||||
http://localhost/
|
||||
http://example.com/
|
||||
http://example.com:65535
|
||||
http://example.com:65535/
|
||||
http://example.com./
|
||||
http://www.example.com/
|
||||
http://www.example.com:8000/test
|
||||
|
@ -27,6 +29,8 @@ http://userid@example.com
|
|||
http://userid@example.com/
|
||||
http://userid@example.com:8080
|
||||
http://userid@example.com:8080/
|
||||
http://userid@example.com:65535
|
||||
http://userid@example.com:65535/
|
||||
http://userid:@example.com
|
||||
http://userid:@example.com/
|
||||
http://userid:@example.com:8080
|
||||
|
@ -35,6 +39,8 @@ http://userid:password@example.com
|
|||
http://userid:password@example.com/
|
||||
http://userid:password@example.com:8080
|
||||
http://userid:password@example.com:8080/
|
||||
http://userid:password@example.com:65535
|
||||
http://userid:password@example.com:65535/
|
||||
https://userid:paaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaassword@example.com
|
||||
https://userid:paaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaassword@example.com:8080
|
||||
https://useridddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd:password@example.com
|
||||
|
|
Loading…
Reference in New Issue