[ 
http://jira.magnolia-cms.com/browse/MGNLDMS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19511#action_19511
 ] 

John Kalstrom commented on MGNLDMS-100:
---------------------------------------

Not just bad for PDF's.  IE6 with Flash 10 will not display an .swf with the 
content-disposition header; it just displays a blank flash window.  I would've 
extended DMSDownloadServlet, but J2EE doesn't have response.deleteHeader().  We 
worked around the problem by stripping the header with Apache.
    <LocationMatch \\\.swf\$>
      Header unset content-disposition
    </LocationMatch>

> DMSDownloadServlet should allow inline viewing of documents
> -----------------------------------------------------------
>
>                 Key: MGNLDMS-100
>                 URL: http://jira.magnolia-cms.com/browse/MGNLDMS-100
>             Project: Magnolia DMS Module
>          Issue Type: New Feature
>    Affects Versions: 1.1, 1.1.1
>            Reporter: Timo Pulkkinen
>            Assignee: Philipp Bracher
>             Fix For: 1.2.7
>
>
> DMSDownloadServlet automatically adds Content-Disposition -header with value 
> "attachment; filename=". This forces browsers to show a download/save 
> as-dialog instead of inline-displaying. This is correct behavior in most 
> cases, but also inline browser displaying possibility is desired when an 
> inline display plug-in is available (e.g. when displaying PDF documents).
> There should be a way to specify which documents or document types are 
> displayed inline (such as application/pdf etc.) and which are forced to be 
> downloaded.

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

        

----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
----------------------------------------------------------------

Reply via email to