From 0e97afdbd6a443dd7ace83c58a00413256fe2e58 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 7 Aug 2018 15:14:26 -0700 Subject: [PATCH] Add + to the allowed API string character set --- src/pylorax/api/regexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/api/regexes.py b/src/pylorax/api/regexes.py index 7be3415e..6506cc60 100644 --- a/src/pylorax/api/regexes.py +++ b/src/pylorax/api/regexes.py @@ -18,4 +18,4 @@ import re # These are the characters that we allow to be passed in via the # API calls. -VALID_API_STRING = re.compile(r'^[a-zA-Z0-9_,.:*-]+$') +VALID_API_STRING = re.compile(r'^[a-zA-Z0-9_,.:+*-]+$')