Skip to content
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

Open
matrixbot opened this issue Dec 10, 2015 · 1 comment
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.

Comments

@matrixbot
Copy link
Member

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)

@matrixbot
Copy link
Member Author

Jira watchers: @leonerd

@matrixbot matrixbot changed the title Querying "room state" on a room alias gives unhelpful error messages (SYN-545) Querying "room state" on a room alias gives unhelpful error messages (https://github.com/matrix-org/synapse/issues/1442) Nov 7, 2016
@matrixbot matrixbot changed the title Querying "room state" on a room alias gives unhelpful error messages (https://github.com/matrix-org/synapse/issues/1442) Querying "room state" on a room alias gives unhelpful error messages (SYN-545) Nov 7, 2016
@H-Shay H-Shay added T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. 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. labels Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

No branches or pull requests

2 participants