Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.6.2, 2.7
-
Fix Version/s: 2.6.3
-
Component/s: Themes
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:wip-
MDL-44850_master -
Pull Master Diff URL:
Description
In '/theme/font.php' there is the following code:
} else if (preg_match('/^[a-z0-9_-]+\.oet$/i', $font, $matches)) {
|
// IE8 must die!!!
|
$font = $matches[0];
|
$mimetype = 'application/vnd.ms-fontobject';
|
|
} else {
|
font_not_found();
|
}
|
Which can be found here: https://github.com/moodle/moodle/blob/MOODLE_26_STABLE/theme/font.php#L73.
This appears to be a typo as there is no 'oet' font type. It should be 'eot' and therefore 'eot' font types are never served.