浏览代码

Update mime types of various powerpoint extensions.

Fixes #3121
mark_story 13 年之前
父节点
当前提交
8146cc4db4
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      lib/Cake/Network/CakeResponse.php

+ 4 - 4
lib/Cake/Network/CakeResponse.php

@@ -131,10 +131,10 @@ class CakeResponse {
 		'otf' => 'font/otf',
 		'otf' => 'font/otf',
 		'pdf' => 'application/pdf',
 		'pdf' => 'application/pdf',
 		'pgn' => 'application/x-chess-pgn',
 		'pgn' => 'application/x-chess-pgn',
-		'pot' => 'application/mspowerpoint',
-		'pps' => 'application/mspowerpoint',
-		'ppt' => 'application/mspowerpoint',
-		'ppz' => 'application/mspowerpoint',
+		'pot' => 'application/vnd.ms-powerpoint',
+		'pps' => 'application/vnd.ms-powerpoint',
+		'ppt' => 'application/vnd.ms-powerpoint',
+		'ppz' => 'application/vnd.ms-powerpoint',
 		'pre' => 'application/x-freelance',
 		'pre' => 'application/x-freelance',
 		'prt' => 'application/pro_eng',
 		'prt' => 'application/pro_eng',
 		'ps' => 'application/postscript',
 		'ps' => 'application/postscript',