mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-25 10:28:37 +01:00
Forbid colons in MXIDs
There is a single (AS) user on matrix.org who has a colon in their localpart, but I suspect that is an artifact of old bridge code and won't work over federation anyway. Colons in MXIDs are particularly harmful because they make it impossible to split mxids into local- and remote-parts
This commit is contained in:
parent
f0f91bd9bc
commit
a36f8ba00d
|
|
@ -139,7 +139,7 @@ history includes events with a ``sender`` which does not conform. In order to
|
|||
handle these rooms successfully, clients and servers MUST accept user IDs with
|
||||
localparts from the expanded character set::
|
||||
|
||||
extended_user_id_char = %x21-7E
|
||||
extended_user_id_char = %x21-39 / %x3B-7F ; all ascii printing chars except :
|
||||
|
||||
Mapping from other character sets
|
||||
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||
|
|
|
|||
Loading…
Reference in a new issue