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/3185 gitorious. org/mahara/ mahara/ commit/ 92e20adb568a5d2 7ba0e01eff214d9 0cfe75df5d
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.7_STABLE
commit 92e20adb568a5d2 7ba0e01eff214d9 0cfe75df5d
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>