You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As such, homeservers MUST sanitise mxc:// URIs by allowing only alphanumeric (A-Za-z0-9), _ and - characters in the server-name and media-id values.
Given that server-name the vast majority of the time is a qualified domain with a TLD, the .tld would make it invalid. Ports, IPv4 and IPv6 addresses would also be invalid. It should be updated such that the grammar only applies to the media-id segment, and server-name should refer to https://spec.matrix.org/v1.12/appendices/#server-name for valid grammar.
The text was updated successfully, but these errors were encountered:
t3chguy
added
the
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
label
Nov 7, 2024
richvdh
added
spec-bug
Something which is in the spec, but is wrong
and removed
clarification
An area where the expected behaviour is understood, but the spec could do with being more explicit
labels
Nov 7, 2024
Link to problem area:
https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5
Issue
It states
Given that server-name the vast majority of the time is a qualified domain with a TLD, the
.tld
would make it invalid. Ports, IPv4 and IPv6 addresses would also be invalid. It should be updated such that the grammar only applies to themedia-id
segment, and server-name should refer to https://spec.matrix.org/v1.12/appendices/#server-name for valid grammar.The text was updated successfully, but these errors were encountered: