mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-25 19:42:23 +00: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.