#175 ✓resolved
semias

Webfiles - showing PDF files

Reported by semias | March 11th, 2011 @ 04:58 AM | in 5.0.4 (closed)

Some simple generated PDF files crashes when publishing in i.e. Acrobat 9.3

Cause: probably related to Acrobat version + inline preview.

Solution: PDF not showing inline but as attachment which can be downloaded.

Affected sources:
/inc/app/cms/boxes/filesystem/index.php

Comments and changes to this ticket

  • semias

    semias March 11th, 2011 @ 05:41 AM

    • State changed from “open” to “resolved”

    Changed the following line:

    header ('Content-Disposition: inline; filename="' . basename ($parameters['file']) . '"');
    

    to

    header ('Content-Disposition: attachment; filename="' . basename ($parameters['file']) . '"');
    

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Sitellite web content management system.

People watching this ticket

Pages