From 44a8139aa801bc4d1c4ea3107483066c02489209 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 7 Aug 2011 13:51:06 -0400 Subject: - Patch #1239376 by Dave Reid: .ogg file extension incorrectly mapped to 'application/ogg' in file_default_mimetype_mapping(). --- modules/simpletest/tests/file.test | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/file.test b/modules/simpletest/tests/file.test index 9dbe5464f..a84208c28 100644 --- a/modules/simpletest/tests/file.test +++ b/modules/simpletest/tests/file.test @@ -2618,6 +2618,7 @@ class FileMimeTypeTest extends DrupalWebTestCase { 'foo.file_test_1' => 'madeup/file_test_1', 'foo.file_test_2' => 'madeup/file_test_2', 'foo.doc' => 'madeup/doc', + 'test.ogg' => 'audio/ogg', ); // Test using default mappings. @@ -2656,6 +2657,7 @@ class FileMimeTypeTest extends DrupalWebTestCase { 'foo.file_test_1' => 'application/octet-stream', 'foo.file_test_2' => 'application/octet-stream', 'foo.doc' => 'application/octet-stream', + 'test.ogg' => 'application/octet-stream', ); foreach ($test_case as $input => $expected) { -- cgit v1.2.3