From abea38d228f3a1f938800adc302dd0f8b39e0ef3 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 29 Jan 2005 04:36:05 +0000 Subject: [PATCH] Change mimetype for xml files for better validation --- files/mimetypes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/mimetypes.php b/files/mimetypes.php index bf35810e4b..50339a0a37 100644 --- a/files/mimetypes.php +++ b/files/mimetypes.php @@ -73,7 +73,7 @@ function mimeinfo($element, $filename) { "wmv" => array ("type"=>"video/x-ms-wmv", "icon"=>"avi.gif"), "asf" => array ("type"=>"video/x-ms-asf", "icon"=>"avi.gif"), "xls" => array ("type"=>"application/vnd.ms-excel", "icon"=>"excel.gif"), - "xml" => array ("type"=>"text/xml", "icon"=>"xml.gif"), + "xml" => array ("type"=>"application/xml", "icon"=>"xml.gif"), "xsl" => array ("type"=>"text/xml", "icon"=>"xml.gif"), "zip" => array ("type"=>"application/zip", "icon"=>"zip.gif") ); -- 2.39.5