fix: avoid invalid filename
This commit is contained in:
@@ -34,7 +34,7 @@ class InvoicePdfController extends AbstractController
|
|||||||
$assignment = $disposition->getAssignment();
|
$assignment = $disposition->getAssignment();
|
||||||
$destination = $slugger->slug($assignment->getDestination());
|
$destination = $slugger->slug($assignment->getDestination());
|
||||||
|
|
||||||
$filename = sprintf('Honorarnote_%s_%s.pdf', $teamerPart, $disposition->getAssignment()->getDestination());
|
$filename = sprintf('Honorarnote_%s_%s.pdf', $teamerPart, $destination);
|
||||||
$contentDisposition = HeaderUtils::makeDisposition(
|
$contentDisposition = HeaderUtils::makeDisposition(
|
||||||
HeaderUtils::DISPOSITION_ATTACHMENT,
|
HeaderUtils::DISPOSITION_ATTACHMENT,
|
||||||
$filename,
|
$filename,
|
||||||
|
|||||||
Reference in New Issue
Block a user