element-hq / element-hq/synapse
Add warning when `/forget` is used without a request body, as this is against the specification.
Open
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#16365](https://github.com/matrix-org/synapse/pull/16365).
---
Base: `develop`
Original commit schedule, with full messages:
-
Add warnings when /forget isn't given a JSON body
Contributor guide
Research direction
Start by locating the /forget endpoint and tracing how requests without a JSON body are handled. Run the relevant endpoint tests, if present; done means the missing-body case emits the requested warning without changing valid requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100