Prefer fileinfo detected mimetype over browser-supplied mimetype (Bug #1249858)
authorRobert Lyon <robertl@catalyst.net.nz>
Wed, 2 Apr 2014 20:46:30 +0000 (09:46 +1300)
committerRobert Lyon <robertl@catalyst.net.nz>
Wed, 2 Apr 2014 22:44:04 +0000 (11:44 +1300)
commit92e20adb568a5d27ba0e01eff214d90cfe75df5d
treeea28a4442520873f179a7e83d37b4968045e9136
parentb5697b22f2030ba75df9a21d416d07378d93aa66
Prefer fileinfo detected mimetype over browser-supplied mimetype (Bug #1249858)

Browsers can get the their mimetypes for certain things mixed up if
they visit badly written websites. So we should trust magicdb over
what the browser tells us.

Change-Id: I477580d55a70f7e2d03385897a6ec02166506908
Signed-off-by: Robert Lyon <robertl@catalyst.net.nz>
htdocs/artefact/file/lib.php