Merge branch 'release-1.36'

This commit is contained in:
Isaac Connor 2021-05-28 12:29:35 -04:00
commit 855a81b975
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ function validateForm( form ) {
} else if ( form.elements['newMonitor[Type]'].value == 'Ffmpeg' ) {
if ( !form.elements['newMonitor[Path]'].value ) {
errors[errors.length] = "<?php echo translate('BadPath') ?>";
} else if (form.elements['newMonitor[Path]'].value.match(/[\!\*'\(\)\$ ,#\[\]]/)) {
} else if (form.elements['newMonitor[Path]'].value.match(/[\!\*'\(\)\$ ,#]/)) {
warnings[warnings.length] = "<?php echo translate('BadPathNotEncoded') ?>";
}