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

FF & Chrome fail to download ppt-documents via view file macro, if the filename contains special characters, due to encoding problems

      In Firefox and Chrome you can't download a powerpoint file containing special characters in the filename using the view file macro. In my example I attached the file "umlaute_öäüÖÜÄß.pptx" to the page and added this macro:

      {viewppt:name=umlaute_öäüÖÜÄß.pptx}

      . Clicking on the download-link inside the macro works in Internet Explorer 8 and points to this url: https://some.host/download/attachments/12345/umlaute_%C3%B6%C3%A4%C3%BC%C3%96%C3%9C%C3%84%C3%9F.pptx. In FireFox and Chrome however, the link points to https://some.host/download/attachments/12345/umlaute_%F6%E4%FC%D6%DC%C4%DF.pptx and I get a page not found error. So IE uses url-encoding with UTF-8 (which does work) and FireFox & Chrome are using url-encoding with ISO 8859-1, which does not. As a workaround you can download the files directly from the viewpageattachments-page, the download there works fine, even in FireFox & Chrome.

      Edit: This is still occurring with later versions of Firefox (up to 29), but no longer in Chrome (at least in version 36).

      Workarounds are:

      • Rename the file
      • Download files from the View Page Attachments page directly

            [CONFSERVER-23352] FF & Chrome fail to download ppt-documents via view file macro, if the filename contains special characters, due to encoding problems

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2899609 ] New: CONFSERVER Bug Workflow v4 [ 2994196 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2795374 ] New: JAC Bug Workflow v3 [ 2899609 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2725476 ] New: JAC Bug Workflow v2 [ 2795374 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389124 ] New: JAC Bug Workflow [ 2725476 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266428 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389124 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210108 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2266428 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195902 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210108 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1936771 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2195902 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1736075 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1936771 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1693997 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1736075 ]

              Unassigned Unassigned
              81c14a335458 Tim
              Affected customers:
              5 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: