Gitlab Community Edition Instance

Commit c814da51 authored by bnachtw's avatar bnachtw
Browse files

0.6.5.2 added a new sequence for escaping [ and ] -- patch distributed by Salvatore again

parent 0683527c
......@@ -52,6 +52,7 @@
# 2019-11-20 0.6.5 added a patch collecting all error and warning lines and write to an errorlog file
# Thanks to Salvatore again for this fix
# 2019-11-26 0.6.5.1 added some return codes
# 2019-11-29 0.6.5.2 added a new sequence for escaping "[" and "]" -- patch distributed by Salvatore again
#
# important notes
#
......@@ -754,6 +755,8 @@ sub fork_backup_threads
$dir =~ s{\#$}{};
# escape "$" if part of the name
$dir =~ s{\$}{\\\$}g;
# escape special [ and ] in paths
$dir =~ s{([\[\]])}{\\$1}g;
# backup commandline
$command = "\"$dsmcbin\" i \"$dir\" -optfile=\"$optfile\" -su=$switcher >> $log_filename 2>&1";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment