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

Download files with Safari will add a .html extension

XMLWordPrintable

      Summary

      While downloading attachments with the "Download Linked File As" in attachmend, the .html will be appended to the file.

      Steps to Reproduce

      1. Access Confluence with Safari.
      2. Go to the attachments page.
      3. Right-click and select "Download Linked File As".

      Expected Results

      If you downloaded a DOCX file, the extension of the file will be .docx

      Actual Results

      All .docx and .jpeg will be saved as .docx.html or jpeg.html

      Notes

      According to https://discussions.apple.com/thread/2020205, Safari will use the MIME Type returned by the header. If you execute the following command, the header will return a text/html type:

      command
      curl -I <attachment-link>
      
      results
      ...
      Content-Type: text/html;charset=UTF-8
      ...
      

      Workaround

              Unassigned Unassigned
              gviana Guilherme V. (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: