Working mime types for xls and xlsx file extensions #1714

Merged
merged 2 commits into from Aug 16, 2012

Conversation

Projects
None yet
3 participants
@ollierattue
Contributor

ollierattue commented Aug 15, 2012

Additional mime types required to get xls and xlsx working on my server. Presume a more is better than less approach is sensible here...

@it-can

This comment has been minimized.

Show comment Hide comment
@it-can

it-can Aug 15, 2012

Contributor

Can you also take a look at the .doc and .docx extensions?

Contributor

it-can commented Aug 15, 2012

Can you also take a look at the .doc and .docx extensions?

application/config/mimes.php
@@ -56,7 +56,7 @@
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
- 'xls' => array('application/excel', 'application/vnd.ms-excel', 'application/msexcel'),
+ 'xls' => array('application/vnd.ms-excel', 'application/vnd.ms-excel [official]', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'),

This comment has been minimized.

Show comment Hide comment
@narfbg

narfbg Aug 15, 2012

Contributor

I don't think that the second value is a valid one.

@narfbg

narfbg Aug 15, 2012

Contributor

I don't think that the second value is a valid one.

This comment has been minimized.

Show comment Hide comment
@ollierattue

ollierattue Aug 15, 2012

Contributor

Removed in next commit.

@ollierattue

ollierattue Aug 15, 2012

Contributor

Removed in next commit.

narfbg added a commit that referenced this pull request Aug 16, 2012

Merge pull request #1714 from ollierattue/develop
Working mime types for xls and xlsx file extensions

@narfbg narfbg merged commit 58854c3 into bcit-ci:develop Aug 16, 2012

nonchip pushed a commit to nonchip/CodeIgniter that referenced this pull request Jun 29, 2013

Merge pull request #1714 from ollierattue/develop
Working mime types for xls and xlsx file extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment