From 7b9300743e879a8a2e35f5786b23a17261350ff9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 3 Mar 2013 15:08:17 +1300 Subject: More parse_url solidification: check that port is in range 0-65535 --- test/test_http.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/test_http.py') diff --git a/test/test_http.py b/test/test_http.py index f41a4e2d..061aeb22 100644 --- a/test/test_http.py +++ b/test/test_http.py @@ -296,6 +296,7 @@ def test_parse_url(): assert not http.parse_url("http://\xfafoo") assert not http.parse_url("http:/\xc6/localhost:56121") assert not http.parse_url("http://foo\0") + assert not http.parse_url("http://foo:999999") -- cgit v1.2.3