From 9e6ae70d26f5c48e9ef6a9d328709bb618304469 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 12 Feb 2021 17:05:55 +0100 Subject: Update regex for webroot --- manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage.py b/manage.py index 60d2f53..c293106 100644 --- a/manage.py +++ b/manage.py @@ -37,7 +37,7 @@ def read_settings(): sys.exit(1) # check for valid webroot path - if not re.match(r"\A(/[a-z|A-Z|0-9|_|-]*)+\Z", settings["webroot"]): + if not re.match(r"\A(/[a-z|A-Z|0-9|_|-|\.]*)+\Z", settings["webroot"]): print("Please select an absolute and valid path as webroot in settings.json") sys.exit(1) -- cgit v1.2.3-70-g09d2