element-hq / element-hq/synapse
Synapse doesn't check types on filters
Open
T-Enhancement
z-p2
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#6554](https://github.com/matrix-org/synapse/issues/6554).
---
e.g. if I use the filter `{"types":"m.room.message"}` instead of `{"types":["m.room.message"]}`, Synapse doesn't realise it's given a string instead of a list and tries to filter on events which types are either `m`, or `.`, or `r`, or `o`, etc.
Contributor guide
Assessment
This issue has not been assessed yet.