Skip to content

Commit

Permalink
Allow + in Matrix IDs. (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Jul 4, 2023
1 parent e9acece commit 6521411
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelogs/appendices/newsfragments/1583.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow `+` in Matrix IDs, per [MSC4009](https://github.com/matrix-org/matrix-spec-proposals/pull/4009).
6 changes: 4 additions & 2 deletions content/appendices.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,8 @@ be represented with a `domain` component under some conditions - see the

#### User Identifiers

{{% changed-in v="1.8" %}}

Users within Matrix are uniquely identified by their Matrix user ID. The
user ID is namespaced to the homeserver which allocated the account and
has the form:
Expand All @@ -548,7 +550,7 @@ has the form:

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 `/`.
`.`, `_`, `=`, `-`, `/`, and `+`.

The `domain` of a user ID is the [server name](#server-name) of the
homeserver which allocated the account.
Expand All @@ -562,7 +564,7 @@ The complete grammar for a legal user ID is:
user_id_localpart = 1*user_id_char
user_id_char = DIGIT
/ %x61-7A ; a-z
/ "-" / "." / "=" / "_" / "/"
/ "-" / "." / "=" / "_" / "/" / "+"

{{% boxes/rationale %}}
A number of factors were considered when defining the allowable
Expand Down

0 comments on commit 6521411

Please sign in to comment.