Note that #/ is in fact mandatory

This commit is contained in:
Kitsune Ral 2019-02-25 14:16:19 +09:00 committed by GitHub
parent 159e3b4bdc
commit e5f2aaf99c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,9 +33,8 @@ The matrix.to URL scheme is:
| Users: | https://matrix.to/#/@matthew:matrix.org | | Users: | https://matrix.to/#/@matthew:matrix.org |
| Messages: | https://matrix.to/#/#matrix:matrix.org/$1448831580433WbpiJ:jki.re | | Messages: | https://matrix.to/#/#matrix:matrix.org/$1448831580433WbpiJ:jki.re |
The #/ component is optional, and exists to avoid leaking the target URL to the The #/ component is mandatory and exists to avoid leaking the target URL to the
server hosting matrix.to. https://matrix.to/@matthew:matrix.org works too, and server hosting matrix.to.
provides better legibility at the expense of privacy.
Note that linking to rooms by ID should only be used for rooms to which the target Note that linking to rooms by ID should only be used for rooms to which the target
user has been invited: these links cannot be assumed to work for all visitors. user has been invited: these links cannot be assumed to work for all visitors.