Merge branch 'fix_arbitrary_code_execution' into develop

This commit is contained in:
Jakob Ketterl
2021-01-24 22:55:11 +01:00

View File

@ -20,6 +20,7 @@ class ModulationValidator(OrValidator):
""" """
This validator only allows alphanumeric characters and numbers, but no spaces or special characters This validator only allows alphanumeric characters and numbers, but no spaces or special characters
""" """
def __init__(self): def __init__(self):
super().__init__(BoolValidator(), RegexValidator(re.compile("^[a-z0-9]+$"))) super().__init__(BoolValidator(), RegexValidator(re.compile("^[a-z0-9]+$")))