0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 13:13:50 +01:00
synapse/tests/http
Richard van der Hoff 546bc9e28b More server_name validation
We need to do a bit more validation when we get a server name, but don't want
to be re-doing it all over the shop, so factor out a separate
parse_and_validate_server_name, and do the extra validation.

Also, use it to verify the server name in the config file.
2018-07-04 18:59:51 +01:00
..
__init__.py Reject invalid server names (#3480) 2018-07-03 14:36:14 +01:00
test_endpoint.py More server_name validation 2018-07-04 18:59:51 +01:00