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 <email address hidden>
Reviewed: https:/ /reviews. mahara. org/3184 gitorious. org/mahara/ mahara/ commit/ 6c82f41791198d7 449d263d8c0da0a b0e6d33296
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE
commit 6c82f41791198d7 449d263d8c0da0a b0e6d33296
Author: Robert Lyon <email address hidden>
Date: Thu Apr 3 09:46:30 2014 +1300
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: I477580d55a70f7 e2d03385897a6ec 02166506908
Signed-off-by: Robert Lyon <email address hidden>