summary refs log tree commit diff
path: root/tests/http
diff options
context:
space:
mode:
authorSean Quah <seanq@element.io>2021-11-23 13:06:56 +0000
committerSean Quah <seanq@element.io>2021-11-23 13:06:56 +0000
commit454c3d7694aaec4a225bdb2cedfb9432e7e9a597 (patch)
tree8f3ba48a82102eea84112bc464830a6b0616a2ff /tests/http
parentRefactor the code to inject bundled relations during serialization. (#11408) (diff)
parentMerge tag 'v1.47.1' (diff)
downloadsynapse-454c3d7694aaec4a225bdb2cedfb9432e7e9a597.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'tests/http')
-rw-r--r--tests/http/test_endpoint.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/http/test_endpoint.py b/tests/http/test_endpoint.py
index 1f9a2f9b1d..c8cc21cadd 100644
--- a/tests/http/test_endpoint.py
+++ b/tests/http/test_endpoint.py
@@ -36,8 +36,11 @@ class ServerNameTestCase(unittest.TestCase):
             "localhost:http",  # non-numeric port
             "1234]",  # smells like ipv6 literal but isn't
             "[1234",
+            "[1.2.3.4]",
             "underscore_.com",
             "percent%65.com",
+            "newline.com\n",
+            ".empty-label.com",
             "1234:5678:80",  # too many colons
         ]
         for i in test_data: