Reject invalid server names (#3480)
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.
Showing
- changelog.d/3480.feature 1 addition, 0 deletionschangelog.d/3480.feature
- synapse/federation/transport/server.py 44 additions, 22 deletionssynapse/federation/transport/server.py
- synapse/http/endpoint.py 31 additions, 3 deletionssynapse/http/endpoint.py
- tests/http/__init__.py 0 additions, 0 deletionstests/http/__init__.py
- tests/http/test_endpoint.py 46 additions, 0 deletionstests/http/test_endpoint.py
Loading
Please register or sign in to comment