When a student tries to submit a .JPG to an assignment that has been restricted to only .JPEGs, the student is blocked from doing so. Because both of these file extensions are used to represent the same image format, either should be allowed. Teachers should not have to remember to always add jpeg and jpg every time they want to allow an assignment to be submitted with the JPEG image format.
Steps to reproduce:
Create a new assignment
Choose a Submission Type of "File Uploads"
Check off Restrict Upload File Types
Under "Allowed File Extensions", add in jpeg
Go to submit the assignment as a student account
Attempt to upload a file with the .jpg extension
Expected behavior:
The .jpg is uploaded & submitted.
Actual behavior:
Canvas prevents the user from uploading their submission.
Canvas does not intend to maintain a list of all file extensions that are equivalent for all file types. While we could make a special-case for jpg/jpeg, we are not going to do this at this time.
Summary:
When a student tries to submit a
.JPG
to an assignment that has been restricted to only.JPEG
s, the student is blocked from doing so. Because both of these file extensions are used to represent the same image format, either should be allowed. Teachers should not have to remember to always addjpeg
andjpg
every time they want to allow an assignment to be submitted with the JPEG image format.Steps to reproduce:
jpeg
.jpg
extensionExpected behavior:
The
.jpg
is uploaded & submitted.Actual behavior:
Canvas prevents the user from uploading their submission.
Additional notes:
See also: JPG vs. JPEG: Is There a Difference?