From 4dbf46adc9f523bd5cdc8e8de831457161d931a4 Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Mon, 25 Aug 2014 15:23:49 -0300 Subject: [PATCH 1/2] Removed rng => application/xml mapping. --- includes/mime_detect.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/mime_detect.inc b/includes/mime_detect.inc index 67566743..74b87fd6 100644 --- a/includes/mime_detect.inc +++ b/includes/mime_detect.inc @@ -223,7 +223,6 @@ class MimeDetect { "tar" => "application/x-tar", "gtar" => "application/x-gtar", "zip" => "application/x-zip", - "rng" => "application/xml", // others: 'bin' => 'application/octet-stream', // Web Archives: From f1de655d9a7294867eeed6b0d9252cbc967182e6 Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Mon, 25 Aug 2014 16:25:08 -0300 Subject: [PATCH 2/2] Updated mime detect class. --- includes/mime_detect.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/mime_detect.inc b/includes/mime_detect.inc index 74b87fd6..29fcf1e5 100644 --- a/includes/mime_detect.inc +++ b/includes/mime_detect.inc @@ -134,7 +134,7 @@ class MimeDetect { 'xhtml' => 'application/xhtml+xml', 'xsl' => 'text/xsl', 'xslt' => 'text/xsl', - 'xml' => 'text/xml', + 'xml' => 'application/xml', 'csv' => 'text/csv', 'tsv' => 'text/tab-separated-values', 'txt' => 'text/plain',