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

Attempting to post a reaction without a key returns a 500 #10120

Open
bwindels opened this issue Jun 3, 2021 · 2 comments
Open

Attempting to post a reaction without a key returns a 500 #10120

bwindels opened this issue Jun 3, 2021 · 2 comments
Labels
S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@bwindels
Copy link
Contributor

bwindels commented Jun 3, 2021

PUT /_matrix/client/r0/rooms/!RbjQlmGUZlYnyhGpoZ:matrix.org/send/m.reaction/t079c85423c7fa9?&_cacheBuster=6619496505588323

{"m.relates_to":{"event_id":"$162273243747082GtgUc:matrix.org","rel_type":"m.annotation"}}

returns

500

{"errcode":"M_UNKNOWN","error":"Internal server error"}

for me

@bwindels
Copy link
Contributor Author

bwindels commented Jun 3, 2021

@clokep clokep added S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Jun 3, 2021
@richvdh
Copy link
Member

richvdh commented Jun 3, 2021

related: #5404. Clearly nobody bothered to put any validation in this bit of code :/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

3 participants