element-hq / element-hq/synapse

Synapse returns an empty string instead of an M_NOT_FOUND when requesting an event that doesn't exist/is hidden

Open
#3,648 0 comments 0 reactions 0 assignees View on GitHub
A-Spec-Compliance O-Uncommon S-Tolerable T-Defect z-minor z-p2
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 6h
Merged PRs (30d)
46

Description

This issue has been migrated from [#3648](https://github.com/matrix-org/synapse/issues/3648).

---

Excess is snipped:
```
(.synapse) matrix@t2bot-synapse:~$ ./federation_client.py -c homeserver.yaml -d t2l.io -X GET 'event/$153335385845995LsYSA:tang.ents.ca/'
Requesting matrix://t2l.io/_matrix/federation/v1/event/$153335385845995LsYSA:tang.ents.ca/
Connecting to t2l.io:8448
Status Code: 404
""
```

(event is a join event in offtopic)

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.