element-hq / element-hq/synapse

Can't set pushrules for room with / or space in the roomid

Open
#9,938 0 comments 1 reaction 0 assignees View on GitHub
P3 S-Minor T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

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

---

### Description

When trying to mute a room with a / or space in the room id (not sure what causes the issue here), synapse logs the following:

```
2021-05-06 12:02:11,700 - synapse.http.server - 88 - INFO - PUT-488390 - SynapseError: 400 - Unrecognized request
```

### Steps to reproduce

- create a room id with a / in it or so, like "!test/v6 :smile::maunium.net"
- Try to mute it in any client or via curl

I would expect the room to be muted, but the request fails, even for percent encoded parameters.

### Version information

- **Homeserver**:

If not matrix.org: neko.dev, maunium.net

- **Version**: 1.33.0

- **Install method**: package, docker

- **Platform**: Gentoo, Debian

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.