summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-02-27 01:37:54 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-02-27 01:37:54 +0000
commitfbc72d7fec338466ff65ab30fc8d51e963f98d70 (patch)
tree8c58443b4c481323cf8c55c1b70b22f3c6f21403
parent98c0ce6cc413b174d5a36f92095246a9967b1371 (diff)
downloadunit-fbc72d7fec338466ff65ab30fc8d51e963f98d70.tar.gz
unit-fbc72d7fec338466ff65ab30fc8d51e963f98d70.tar.bz2
Tests: added test with invalid IPv6 address in routing block.
Diffstat (limited to '')
-rw-r--r--test/test_routing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_routing.py b/test/test_routing.py
index eb7b2fd8..67f10d10 100644
--- a/test/test_routing.py
+++ b/test/test_routing.py
@@ -1690,6 +1690,7 @@ class TestRouting(TestApplicationProto):
self.route_match_invalid({"source": "2001::/129"})
self.route_match_invalid({"source": "::FFFFF"})
self.route_match_invalid({"source": "[::1]:"})
+ self.route_match_invalid({"source": "[:::]:7080"})
self.route_match_invalid({"source": "*:"})
self.route_match_invalid({"source": "*:1-a"})
self.route_match_invalid({"source": "*:65536"})