21 Apr 2021, 21:02

I have found and corrected the issue.

In these two files

  • vendor/uvdesk/support-center-bundle/Controller/Ticket.php
  • vendor/uvdesk/core-framework/Controller/Ticket.php

In the function "public function downloadAttachment(Request $request)", add the this line of code:

  • $response->headers->set('Content-Length', $attachment->getSize());

Below

  • $response->headers->set('Content-Disposition', 'attachment; filename='. $attachment->getName());

And Above

  • $response->sendHeaders();

@peopleinside Thanks again for the help!