mirror of
https://github.com/matrix-org/synapse.git
synced 2026-05-14 00:46:27 +02:00
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.