Various changes to make things work again.

This commit is contained in:
James Cole
2017-09-10 09:46:50 +02:00
parent 1faa520168
commit 24ea20f769
4 changed files with 7 additions and 16 deletions

View File

@@ -99,7 +99,6 @@ class AttachmentController extends Controller
public function download(AttachmentRepositoryInterface $repository, Attachment $attachment)
{
if ($repository->exists($attachment)) {
$content = $repository->getContent($attachment);
$quoted = sprintf('"%s"', addcslashes(basename($attachment->filename), '"\\'));