mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-31 18:17:48 +02:00
Merge remote-tracking branch 'origin/main' into rav/history_sharing
This commit is contained in:
commit
96438321bd
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
|
@ -1 +1 @@
|
||||||
* @matrix-org/spec-core-team
|
* @matrix-org/spec-core-team @zecakeh
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
1
changelogs/internal/newsfragments/2400.clarification
Normal file
1
changelogs/internal/newsfragments/2400.clarification
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Update CODEOWNERS file.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
|
|
@ -51,7 +51,7 @@ interoperability.
|
||||||
|
|
||||||
URL-safe unpadded Base64 is identical to standard unpadded Base64, except that
|
URL-safe unpadded Base64 is identical to standard unpadded Base64, except that
|
||||||
it uses `-` (minus) as the 62nd character in the alphabet, and `_` (underscore)
|
it uses `-` (minus) as the 62nd character in the alphabet, and `_` (underscore)
|
||||||
as the 63rd.
|
as the 63rd. This matches [RFC4648’s definition of URL-safe base64](https://tools.ietf.org/html/rfc4648#section-5).
|
||||||
|
|
||||||
## Binary data
|
## Binary data
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -276,9 +276,8 @@ internal state of the hash function.
|
||||||
|
|
||||||
After formatting each query, the string is run through SHA-256 as
|
After formatting each query, the string is run through SHA-256 as
|
||||||
defined by [RFC 4634](https://tools.ietf.org/html/rfc4634). The
|
defined by [RFC 4634](https://tools.ietf.org/html/rfc4634). The
|
||||||
resulting bytes are then encoded using URL-Safe [Unpadded
|
resulting bytes are then encoded using [URL-Safe unpadded
|
||||||
Base64](/appendices#unpadded-base64) (similar to [room version
|
Base64](/appendices/#url-safe-unpadded-base64).
|
||||||
4's event ID format](/rooms/v4#event-ids)).
|
|
||||||
|
|
||||||
An example set of queries when using the pepper `matrixrocks` would be:
|
An example set of queries when using the pepper `matrixrocks` would be:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,8 @@
|
||||||
---
|
---
|
||||||
{{% added-in v=4 %}} The event ID is the [reference
|
{{% added-in v=4 %}} The event ID is the [reference
|
||||||
hash](/server-server-api#calculating-the-reference-hash-for-an-event) of
|
hash](/server-server-api#calculating-the-reference-hash-for-an-event) of
|
||||||
the event encoded using a variation of [Unpadded
|
the event encoded using [URL-safe unpadded
|
||||||
Base64](/appendices#unpadded-base64) which replaces the 62nd and
|
Base64](/appendices/#url-safe-unpadded-base64).
|
||||||
63rd characters with `-` and `_` instead of using `+` and `/`. This
|
|
||||||
matches [RFC4648's definition of URL-safe
|
|
||||||
base64](https://tools.ietf.org/html/rfc4648#section-5).
|
|
||||||
|
|
||||||
Event IDs are still prefixed with `$` and might result in looking like
|
Event IDs are still prefixed with `$` and might result in looking like
|
||||||
`$Rqnc-F-dvnEYJTyHq_iKxU2bZ1CI92-kuZq3a5lr5Zg`.
|
`$Rqnc-F-dvnEYJTyHq_iKxU2bZ1CI92-kuZq3a5lr5Zg`.
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@ paths:
|
||||||
public_key:
|
public_key:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
The public key, encoded using standard or URL-safe [unpadded Base64](/appendices/#unpadded-base64).
|
The public key, encoded using [standard unpadded Base64](/appendices/#unpadded-base64) or [URL-safe unpadded Base64](/appendices/#url-safe-unpadded-base64).
|
||||||
key_validity_url:
|
key_validity_url:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue