From 7fc869a8ba4ed17af1934d3d01cde40451caa2aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Wed, 2 Oct 2024 06:43:59 +0200 Subject: [PATCH] Tweak REVERSE_PROXY_INCLUDES regex to be less restrictive --- src/common/core/reverseproxy/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/core/reverseproxy/plugin.json b/src/common/core/reverseproxy/plugin.json index 4d010a600..5539f75a6 100644 --- a/src/common/core/reverseproxy/plugin.json +++ b/src/common/core/reverseproxy/plugin.json @@ -186,7 +186,7 @@ "help": "Additional configuration to include in the location block, separated with spaces.", "id": "reverse-proxy-includes", "label": "Reverse proxy includes", - "regex": "^(?! )( ?(\\w+)(?!.*\\b\\2\\b))*$", + "regex": "^(?! )( ?([^ ])(?!.*\\b\\2\\b))*$", "type": "text", "multiple": "reverse-proxy" },