forked from p15670423/monkey
Common: Modify filename validation regex in CustomPBAConfigurationSchema to allow empty strings
This commit is contained in:
parent
9c7b69dd7b
commit
8d84bdafe1
|
@ -15,8 +15,8 @@ from .agent_sub_configurations import (
|
|||
)
|
||||
from .utils import freeze_lists
|
||||
|
||||
valid_windows_custom_pba_filename_regex = re.compile(r"^[^<>:\"\\\/|?*]+[^<>:\"\\\/|?* \.]$")
|
||||
valid_linux_custom_pba_filename_regex = re.compile(r"^[^\\]+$")
|
||||
valid_windows_custom_pba_filename_regex = re.compile(r"^[^<>:\"\\\/|?*]+[^<>:\"\\\/|?* \.]$|^$")
|
||||
valid_linux_custom_pba_filename_regex = re.compile(r"^[^\\]+$|^$")
|
||||
|
||||
|
||||
class CustomPBAConfigurationSchema(Schema):
|
||||
|
|
Loading…
Reference in New Issue