Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User ID length limit is not correct (should be 255 for the whole User ID, not just the local part) #2861

Open
matrixbot opened this issue Sep 10, 2024 · 0 comments
Labels
T-Defect Something isn't working

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @reivilibre at matrix-org/matrix-authentication-service#2861.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant