mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
Clarify the appendix a bit.
This commit is contained in:
parent
f05a8468cd
commit
4bb33eb396
|
|
@ -951,10 +951,12 @@ event's `content`.
|
||||||
To handle ambiguity when a property name contains a dot, any literal dot or
|
To handle ambiguity when a property name contains a dot, any literal dot or
|
||||||
backslash found in a property name should be escaped with a backslash. E.g. a
|
backslash found in a property name should be escaped with a backslash. E.g. a
|
||||||
property `m.relates_to` in the `content` would be expressed as
|
property `m.relates_to` in the `content` would be expressed as
|
||||||
`content.m\.relates_to`.
|
`content.m\.relates_to`. Similarly, a `content` property named `m\foo` would be
|
||||||
|
expressed as `content.m\\foo`.
|
||||||
|
|
||||||
It is recommended that implementations do not redundantly escape characters, as
|
Other escape sequences are left as-is, e.g. a `\x` would be treated as a literal
|
||||||
other escape sequences are reserved for future use.
|
backslash followed by 'x'. It is recommended that implementations do not redundantly
|
||||||
|
escape characters, as other escape sequences are reserved for future use.
|
||||||
|
|
||||||
## Security Threat Model
|
## Security Threat Model
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue