-
Type:
Functional Test
-
Status: Passed
-
Priority:
Critical
-
Affects Version/s: Moodle 2.8
-
Fix Version/s: Moodle 2.8
-
Component/s: Database activity module, Filepicker
-
Labels:None
Test Pre-requisites:
- A database activity with a picture field.
Test Steps:
1. Use file picker to upload a .exe file into a picture database field. Verify that you are informed by Moodle that the file cannot be uploaded.
2. Use file picker to upload a spreadheet into a picture database field. Verify that you are informed by Moodle that the file cannot be uploaded.
3. Use file picker to upload a text document into a picture database field. Verify that you are informed by Moodle that the file cannot be uploaded.
4. Rename a text document so it's file extension is .jpg and use file picker to upload it into a picture database field. Verify that the file causes no problems with Moodle.
- Testing discovered
-
MDL-47831 Filepicker: Improve web_image file validation by using get_imageinfo in addition to mimetypes check
-
- Closed
-