Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More server_name validation | Richard van der Hoff | 2018-07-04 | 1 | -4/+13 |
| | | | | | | | | 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. | ||||
* | Reject invalid server names (#3480) | Richard van der Hoff | 2018-07-03 | 2 | -0/+46 |
Make sure that server_names used in auth headers are sane, and reject them with a sensible error code, before they disappear off into the depths of the system. |