Development

#6635 ([PATCH] Add the support of Office 2007 in the upload)

You must first sign up to be able to contribute.

Ticket #6635 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

[PATCH] Add the support of Office 2007 in the upload

Reported by: leviathan Assigned to: fabien
Priority: minor Milestone: 1.2.8
Component: validation Version:
Keywords: docx, xlsx, upload, file Cc:
Qualification: Unreviewed

Description

In the actual Symfony version (1.1.7 and 1.2.7) if we upload an Office 2007 file (OOXML), this file is rename with .bin extension.

For support Office 2007 format, we must add the mime-type for this files. I join it in the diff file (this diff is for 1.1.7 but the modifications in the sfValidatorFile.class.php file can be report in the 1.2.7 version).

There is 1 modification in the source code of sfWebRequest.class.php for support the mime-type of Office Excel 2007 with macro (because this mimetype contain a capitalized).

Attachments

symfony.diff (1.2 kB) - added by leviathan on 06/16/09 00:55:31.
Diff for OOXML support

Change History

06/16/09 00:55:31 changed by leviathan

  • attachment symfony.diff added.

Diff for OOXML support

06/16/09 09:08:36 changed by fabien

  • milestone set to 1.2.8.

06/16/09 09:12:56 changed by fabien

in r19297

06/16/09 10:33:32 changed by FabianLange

  • status changed from new to closed.
  • resolution set to fixed.