Latest YouTube Video

Sunday, December 10, 2017

ActiveLinkResponseFilter breaks any text/html BinaryFileResponse for anonymous users

I have a Controller which generates a text/html BinaryFileResponse: $response = new BinaryFileResponse($temp_file); $response->headers->set('Content-Type', 'text/html'); $response->setContentDisposition(ResponseHeaderBag::DISPOSITION_ATTACHMENT, $filename); $response->setPrivate(); ...

from Google Alert - anonymous http://ift.tt/2jkU9t4
via IFTTT

No comments: