Skip to content

Commit

Permalink
refs #514 : remove - unused blanks from mime type strings
Browse files Browse the repository at this point in the history
  • Loading branch information
inureyes committed Feb 12, 2016
1 parent af92cf4 commit 2e62f48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/utils/Misc.php
Expand Up @@ -134,13 +134,13 @@ static function getMIMEType($ext, $filename = null) {
return 'application/vnd.oasis.opendocument.presentation';
case 'sxw':
case 'stw':
return ' application/vnd.sun.xml.writer';
return 'application/vnd.sun.xml.writer';
case 'sxc':
case 'stc':
return ' application/vnd.sun.xml.calc';
return 'application/vnd.sun.xml.calc';
case 'sxi':
case 'sti':
return ' application/vnd.sun.xml.impress';
return 'application/vnd.sun.xml.impress';
case 'doc':
return 'application/vnd.ms-word';
case 'xls':
Expand Down

0 comments on commit 2e62f48

Please sign in to comment.