This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Synapse 500s when /createRoom is given with a full alias instead of the alias's localpart #5127
Labels
A-Create-Room
A-Validation
500 (mostly) errors due to lack of event/parameter validation
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Milestone
When
/createRoom
gets queried with, e.g.#qqqqqqqqqqqqqqqqq:matrix.org
, as the value forroom_alias_name
, instead ofqqqqqqqqqqqqqqqqq
(which is what's supposed to go there), Synapse responds with a 500 status code and logs this error:It should return, e.g. a 400 with an error message explaining the localpart is expected in the request body.
The text was updated successfully, but these errors were encountered: