Merge branch 'fix_arbitrary_code_execution' into develop
This commit is contained in:
commit
bf31a27dca
@ -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]+$")))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user