-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.11.10, 4.0.4, 4.5.4, 5.0, 5.1
-
MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_405_STABLE, MOODLE_500_STABLE, MOODLE_501_STABLE
In mod_resource it's possible to upload html files and associated images. If the images are SVG files then they display if an img tag is used but are forced to download if an object tag is used. Although, object is possibly uncommon it should work. We encountered it used in epub files (which are just zip files with HTML content).
To reproduce...
- Create a new file resource
- Upload the attached zip
- Click and unzip
- Click folder and set index.php as main file
- Save
When displaying the resource, the attached SVG file is downloaded (on Chrome, anyway). It should be displayed.
There seem to be a number of related tickets - e.g. MDL-72316
- has a non-specific relationship to
-
MDL-72316 SVG files being downloaded instead of served in SCORM activities
-
- Closed
-