Common: Fix Windows filename regex in CustomPBAConfigurationSchema validation

This commit is contained in:
Shreya Malviya 2022-07-26 18:27:10 +05:30
parent 8d84bdafe1
commit c4b5e9fb2d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ from .agent_sub_configurations import (
)
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"^[^\\]+$|^$")