This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Querying "room state" on a room alias gives unhelpful error messages (SYN-545) #1442
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Due to a small client bug I embedded a room alias in a query to
GET /rooms/:room_id/state
rather than the room ID.Synapse's error result was simply to tell me 403 you're not in the room, rather than to point out that the room ID wasn't syntactically valid; as it could know from the # instead of ! symbol.
(Imported from https://matrix.org/jira/browse/SYN-545)
(Reported by @leonerd)
The text was updated successfully, but these errors were encountered: