forked from p15670423/monkey
Common: Fix CustomPBAConfigurationSchema's linux filename validation regex to check for forward slashes instead of back slashes
This commit is contained in:
parent
35c2cf26e8
commit
a017a66137
|
@ -16,7 +16,7 @@ from .agent_sub_configurations import (
|
||||||
from .utils import freeze_lists
|
from .utils import freeze_lists
|
||||||
|
|
||||||
valid_windows_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"^[^\0\\]*$")
|
valid_linux_custom_pba_filename_regex = re.compile(r"^[^\0/]*$")
|
||||||
|
|
||||||
|
|
||||||
class CustomPBAConfigurationSchema(Schema):
|
class CustomPBAConfigurationSchema(Schema):
|
||||||
|
|
Loading…
Reference in New Issue