Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
2bd43460
Commit
2bd43460
authored
10 years ago
by
Kegan Dougal
Browse files
Options
Downloads
Patches
Plain Diff
More rst formatting.
parent
f23e5b17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/human-id-rules.rst
+6
-5
6 additions, 5 deletions
docs/human-id-rules.rst
with
6 additions
and
5 deletions
docs/human-id-rules.rst
+
6
−
5
View file @
2bd43460
...
@@ -42,8 +42,8 @@ Checks
...
@@ -42,8 +42,8 @@ Checks
- Language sets from CLDR dataset.
- Language sets from CLDR dataset.
- Treated in segments (localpart, domain)
- Treated in segments (localpart, domain)
- Additional restrictions for ease of processing IDs.
- Additional restrictions for ease of processing IDs.
- Room alias localparts MUST NOT have ``#`` or ``:``.
- Room alias localparts MUST NOT have ``#`` or ``:``.
- User ID localparts MUST NOT have ``@`` or ``:``.
- User ID localparts MUST NOT have ``@`` or ``:``.
Rejecting
Rejecting
---------
---------
...
@@ -54,12 +54,13 @@ Rejecting
...
@@ -54,12 +54,13 @@ Rejecting
- Any home server whose domain does not pass this check, MUST use their punycode
- Any home server whose domain does not pass this check, MUST use their punycode
domain name instead of the IDN, to prevent other home servers rejecting you.
domain name instead of the IDN, to prevent other home servers rejecting you.
- Error code is ``M_FAILED_HUMAN_ID_CHECK``. (generic enough for both failing
- Error code is ``M_FAILED_HUMAN_ID_CHECK``. (generic enough for both failing
due to homograph attacks, and failing due to including ``:``s, etc)
due to homograph attacks, and failing due to including ``:``
s, etc)
- Error message MAY go into further information about which characters were
- Error message MAY go into further information about which characters were
rejected and why.
rejected and why.
- Error message SHOULD contain a ``failed_keys`` key which contains an array
- Error message SHOULD contain a ``failed_keys`` key which contains an array
of strings which represent the keys which failed the check e.g:
of strings which represent the keys which failed the check e.g::
- ``failed_keys: [ user_id, room_alias ]``
failed_keys: [ user_id, room_alias ]
Other considerations
Other considerations
--------------------
--------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment