Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return M_UNRECOGNIZED for unknown CS API endpoints/actions #2740

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

neilalexander
Copy link
Contributor

Fixes #2739.

@neilalexander neilalexander requested a review from a team as a code owner September 27, 2022 14:36
@richvdh
Copy link
Member

richvdh commented Oct 14, 2022

Was doing this only for the CS API, and not the Federation API, a deliberate decision?

@neilalexander
Copy link
Contributor Author

Was doing this only for the CS API, and not the Federation API, a deliberate decision?

Not especially, just that it wasn't clear whether it makes any difference over federation whereas it obviously does seem to matter to clients. We could just as easily do it for federation too.

@richvdh
Copy link
Member

richvdh commented Oct 14, 2022

It would definitely be helpful for federation; we have the same hacks there.

Might want to see where MSC3743 goes though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unrecognized APIs yield a non-JSON error response
3 participants