Download files with Safari will add a .html extension

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 2

      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

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

              Created:
              Updated:
              Resolved: