From 542487e9095342296443beee9b832b2b5467edb0 Mon Sep 17 00:00:00 2001 From: alexenica Date: Fri, 13 Dec 2024 15:06:28 +0200 Subject: [PATCH] Add dot to network regex check Signed-off-by: Alexandru Nica --- Containers/mastercontainer/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/mastercontainer/start.sh b/Containers/mastercontainer/start.sh index 687651e2..d467c880 100644 --- a/Containers/mastercontainer/start.sh +++ b/Containers/mastercontainer/start.sh @@ -194,7 +194,7 @@ It is set to '$APACHE_IP_BINDING'." fi fi if [ -n "$APACHE_ADDITIONAL_NETWORK" ]; then - if ! echo "$APACHE_ADDITIONAL_NETWORK" | grep -q "^[a-zA-Z0-9_-]\+$"; then + if ! echo "$APACHE_ADDITIONAL_NETWORK" | grep -q "^[a-zA-Z0-9._-]\+$"; then print_red "You've set APACHE_ADDITIONAL_NETWORK but not to an allowed value. It needs to be a string with letters, numbers, hyphens and underscores. It is set to '$APACHE_ADDITIONAL_NETWORK'."