Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assignment uploads: check file extension on the client side #1

Open
rowdyrotifer opened this issue Oct 12, 2018 · 0 comments
Open

Assignment uploads: check file extension on the client side #1

rowdyrotifer opened this issue Oct 12, 2018 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rowdyrotifer
Copy link
Owner

In the Canvas API, assignments have an allowed_extensions attribute. These extensions should be checked when running the ua 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.

@rowdyrotifer rowdyrotifer added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant