element-hq / element-hq/matrix-authentication-service
User ID length limit is not correct (should be 255 for the whole User ID, not just the local part)
Open
T-Defect
- Dominant language
- Rust
- Stars
- 280
- Forks
- 111
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 25
Description
*This issue was originally created by [**@reivilibre**](https://github.com/reivilibre) at .*
https://github.com/matrix-org/matrix-authentication-service/blob/121966ccceaf74b1c5728d5521299eac3ff9346d/crates/handlers/src/graphql/mutations/user.rs#L276
https://spec.matrix.org/v1.10/appendices/#user-identifiers
> The length of a user ID, **including the @ sigil and the domain**, MUST NOT exceed 255 characters.
Other than that, it seems that `+` chars are not allowed even though the spec says they should be
Contributor guide
Assessment
This issue has not been assessed yet.