Project

General

Profile

Actions

Bug #4303

closed

Download von doc/docx-Dateien

Added by Elias Villiger over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Elias Villiger
Target version:
Start date:
26.08.2017
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Bei einem Download vom Typ _file wird dem Dateinamen der mime-Typ angehängt. Aus der Doku:

If the mime type is different from the exportFilename extension, then the mime type extension will be added to exportFilename. This guarantees that a filemanager will open the file with the correct application.

Für doc/docx variiert das Resultat je nach Browser:
  • Edge
    • name.rtf bleibt name.rtf
    • name.doc wird name.doc.doc
    • name.docx wird name.docx.vnd.openxmlformats-officedocument.wordprocessingml.docx
  • Chrome (Dateierweiterung falsch, Datei wird von Windows nicht erkannt)
    • name.rtf bleibt name.rtf
    • name.doc wird name.doc.msword
    • name.docx wird name.docx.vnd.openxmlformats-officedocument.wordprocessingml.document
  • Firefox
    • name.rtf wird name
    • name.doc wird name
    • name.docx wird name
Meine Test-Bedingungen:
  • Alle drei Dokument-Typen wurden mit MS Word 2013 erstellt
  • Von den Browsern wurden nur die aktuellsten Windows-Versionen getestet

Related issues

Related to QFQ - Feature #4444: FE.type=upload: detect mime typeSome day maybe09.09.2017

Actions
Actions #1

Updated by Elias Villiger over 6 years ago

  • Description updated (diff)
  • Assignee set to Carsten Rose
Actions #2

Updated by Elias Villiger over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Carsten Rose over 6 years ago

  • Target version set to next9
Actions #4

Updated by Carsten Rose over 6 years ago

  • Target version changed from next9 to 0.23
Actions #5

Updated by Elias Villiger over 6 years ago

  • Priority changed from Normal to High

Ev. auf geolean der Fall, nur weil file nicht installiert ist? (sudo apt-get install file)

Falls ja, file auch grad auf lean-gate noch installieren.

Actions #6

Updated by Elias Villiger over 6 years ago

  • Related to Feature #4444: FE.type=upload: detect mime type added
Actions #7

Updated by Carsten Rose over 6 years ago

An `file` liegt es nicht - das ist/war auf lean und lean-gate installiert.

Actions #8

Updated by Carsten Rose over 6 years ago

  • Target version changed from 0.23 to next7
Actions #9

Updated by Elias Villiger about 6 years ago

Browser-Unterschiede sind inzwischen minimiert: Beispiel .docx:

Firefox: .docx.vnd.openxmlformats_officedocument.wordprocessingml.document
Chrome: .docx.vnd.openxmlformats_officedocument.wordprocessingml.document
Edge: .docx.vnd.openxmlformats_officedocument.wordprocessingml.docx

Actions #10

Updated by Elias Villiger about 6 years ago

  • Status changed from New to Closed
  • Assignee changed from Carsten Rose to Elias Villiger

In Version 0.25.11. gefixt - Mime Type wird nicht mehr an Datei angehängt, weil vom Mime Type nicht direkt auf File Extension geschlossen werden kann.

Actions #11

Updated by Carsten Rose almost 6 years ago

  • Target version changed from next7 to 0.25.6
Actions

Also available in: Atom PDF