Assignment uploads: check file extension on the client side #1
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
In the Canvas API, assignments have an
allowed_extensions
attribute. These extensions should be checked when running theua
command, and an appropriate error message should be displayed instead of going through with the upload.Interestingly enough, it seems that the API happily accepts and submits uploads of the wrong file type currently, whereas in my experience, the website doesn't. We still shouldn't allow it though.
The text was updated successfully, but these errors were encountered: