matrix-org / matrix-org/matrix.to
MXIDs with slashes (`/`) incorrectly rejected
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Per [the spec](https://spec.matrix.org/v1.4/appendices/#user-identifiers), MXIDs are allowed to contain forward slashes (`/`). However, matrix.to rejects such MXIDs:
>The localpart of a user ID is an opaque identifier for that user. It MUST NOT be empty, and MUST contain only the characters a-z, 0-9, ., _, =, -, and /.

Contributor guide
Research direction
No source file, test, or entry point is named in the issue. Start by locating the MXID validation used by matrix.to and reproduce the rejection with a forward slash in a valid localpart. Done means valid slash-containing MXIDs are accepted while invalid identifiers remain rejected, with coverage added if the project has validation tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100