From 6ea5a835b25c3e251d5de49ac76173d9a136f6aa Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 8 Jun 2023 10:25:01 +0300 Subject: [PATCH] matrix/m.room.server_acl: remove unnecessary wildcards, note it --- matrix/m.room.server_acl/README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/matrix/m.room.server_acl/README.md b/matrix/m.room.server_acl/README.md index b3e315d..7052a58 100644 --- a/matrix/m.room.server_acl/README.md +++ b/matrix/m.room.server_acl/README.md @@ -13,9 +13,13 @@ adjusting this. - https://matrix.org/docs/guides/moderation#banning-servers-from-rooms-server-acls -Note: when sending the custom event via `/devtools` for the first time, click -the `Event` so it says `State Event` and asks for `State key` in addition to `type`, -which can/is left empty as usual. +Note: + +- When sending the custom event via `/devtools` for the first time, click + the `Event` so it says `State Event` and asks for `State key` in addition to `type`, + which can/is left empty as usual. +- Subdomains appear to be implied by specifying 2nd level domain. E.g. + `matrix.org` appears to apply to `*.matrix.org` at least on Synapse. ```json { @@ -23,26 +27,18 @@ which can/is left empty as usual. "allow_ip_literals": false, "deny": [ "matrix.org", - "*.matrix.org", "mjolnir.matrix.org", "disroot.org", "privacytools.io", "feneas.org", "glowers.club", - "*.glowers.club", "midov.pl", - "*.midov.pl", "kiwifarms.net", - "*.kiwifarms.net", "liberta.casa", "nitro.chat", - "*.nitro.chat", "nerdsin.space", - "*.nerdsin.space", "thisisjoes.site", - "*.thisisjoes.site", - "pp13.space", - "*.pp13.space" + "pp13.space" ] } ```