fixed: escapeshellarg pdf file

This commit is contained in:
Philipp Lang 2022-11-04 10:36:07 +01:00
parent c0e77ec198
commit e002575036
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ abstract class BaseCompiler implements Responsable
{
return collect([
'cd '.escapeshellarg($this->file->getPath()),
$document->getEngine()->binary().' --halt-on-error '.$document->filename(),
$document->getEngine()->binary().' --halt-on-error '.$document->filename(),
$document->getEngine()->binary().' --halt-on-error '.escapeshellarg($document->filename()),
$document->getEngine()->binary().' --halt-on-error '.escapeshellarg($document->filename()),
])->implode(' && ');
}
}