Result file: escape event title
This commit is contained in:
parent
a4ea94adc7
commit
a415af0a39
|
@ -150,7 +150,7 @@ class AbstimmIDd {
|
|||
$event_title = str_replace(' ', '_', addslashes($body->event_title));
|
||||
|
||||
$file_path = $this->cfg['export']['path'] . '/' . date('Y-m-d') .
|
||||
"__{$event_title}__Abstimmung-$vote_round";
|
||||
"__{".escapeshellarg($event_title)."}__Abstimmung-$vote_round";
|
||||
|
||||
$sha256_txt = $this->create_text_file($body, "$file_path.txt");
|
||||
$sha256_pdf = $this->create_pdf_file($body, "$file_path.pdf");
|
||||
|
|
Loading…
Reference in a new issue