Result file: escape event title

This commit is contained in:
Sven Seeberg 2020-11-19 19:05:48 +01:00
parent 0c84cc9d1c
commit 76190838df
Signed by: sven.seeberg
GPG key ID: 29559DD5A83806B5

View file

@ -195,7 +195,7 @@ EOT;
$this->sync_command($file_path.".gpg");
// return the hash of the text file
return trim(shell_exec("/usr/bin/sha256sum $file_path | awk '{ print $1 }'"));
return trim(shell_exec("/usr/bin/sha256sum '$file_path' | awk '{ print $1 }'"));
}
/**