[ http://jira.magnolia.info/browse/MAGNOLIA-1347?page=comments#action_13392 
] 
            
Grégory Joseph commented on MAGNOLIA-1347:
------------------------------------------

I think all you need should be
        response.setHeader("Content-Disposition", "attachment; filename=");
or
        response.setHeader("Content-Disposition", "attachment; filename=\"" + 
fileName + "\"");
and a proper contentType (response.setContentType)

> links to binaries: set the headers properly so that bowsers don't open extra 
> windows
> ------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1347
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1347
>             Project: Magnolia
>          Issue Type: Improvement
>    Affects Versions: 3.0.1
>            Reporter: Philipp Bracher
>         Assigned To: Boris Kraft
>
> Clicking on an uploaded document in a download paragraphs opens an empty 
> extra window, which is annoying. This mustn't be and can get avoided by 
> setting the headers porperly. I don't know the details but in the dms 
> download servlet it is done correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to