Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30392

PDF file doesn't don't open with Chrome's/firefox internal PDF viewer

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.2.3
    • None

      In the previous version, when you click the download button for the pdf file, the file will be open in the browser internal PDF viewer. From there, the user have an option to download the pdf file or just view it like that.

      In 5.2.3, when you press the download button for the PDF file in a page, the user will be prompted with the download box straight away.

        1. browser.png
          browser.png
          114 kB
        2. download.png
          download.png
          36 kB

            [CONFSERVER-30392] PDF file doesn't don't open with Chrome's/firefox internal PDF viewer

            Hi All,

            The current behavior (Confluence not allowing PDF files to be opened in the browser) is a side effect of a security improvement added to the product. As PDF files can be "active content", the behavior in Confluence will not be reverted.

            Workarounds:

            For Self-Hosted Instances
            1. Click on cog at the Confluence header and choose "Confluence Admin"
            2. Under "Users & Security" choose "Security Configuration".
            3. Click any of the "Edit" buttons on the page and find the "Attachment Download Security Policy" section.
            4. Select the "Insecure: Display all attachments inline" option and click "Save".

            For OnDemand Instances
            Create a Support ticket at http://support.atlassian.com requesting the change to be done in your instance.

            Renan Battaglin added a comment - Hi All, The current behavior (Confluence not allowing PDF files to be opened in the browser) is a side effect of a security improvement added to the product. As PDF files can be "active content", the behavior in Confluence will not be reverted. Workarounds: For Self-Hosted Instances 1. Click on cog at the Confluence header and choose "Confluence Admin" 2. Under "Users & Security" choose "Security Configuration". 3. Click any of the "Edit" buttons on the page and find the "Attachment Download Security Policy" section. 4. Select the "Insecure: Display all attachments inline" option and click "Save". For OnDemand Instances Create a Support ticket at http://support.atlassian.com requesting the change to be done in your instance.

              Unassigned Unassigned
              jcheok Jing Hwa Cheok (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: