element-hq / element-hq/synapse

Synapse doesn't check types on filters

Open
#6,554 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.