From 73d0bf7170668867e4b4176b39ffa039653c1cf0 Mon Sep 17 00:00:00 2001 From: David Gnedt Date: Wed, 15 Jan 2020 19:15:42 +0100 Subject: [PATCH] Fix regex in matrix_appservice_webhooks_registration_yaml --- roles/matrix-bridge-appservice-webhooks/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-bridge-appservice-webhooks/defaults/main.yml b/roles/matrix-bridge-appservice-webhooks/defaults/main.yml index cd675162c..09daa22bd 100644 --- a/roles/matrix-bridge-appservice-webhooks/defaults/main.yml +++ b/roles/matrix-bridge-appservice-webhooks/defaults/main.yml @@ -94,7 +94,7 @@ matrix_appservice_webhooks_registration_yaml: | namespaces: users: - exclusive: true - regex: '@{{ matrix_appservice_webhooks_user_prefix }}*:{{ matrix_domain }}' + regex: '^@{{ matrix_appservice_webhooks_user_prefix | regex_escape }}.*:{{ matrix_domain | regex_escape }}$' aliases: [] rooms: [] url: "{{ matrix_appservice_webhooks_appservice_url }}:{{ matrix_appservice_webhooks_matrix_port }}"