More rst formatting.

pull/10/head
Kegan Dougal 2014-09-09 15:13:50 -07:00
parent f23e5b17b6
commit 2bd4346075
1 changed files with 6 additions and 5 deletions

View File

@ -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
-------------------- --------------------