Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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