You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a file submissions, if the file name contains special characters, it will no longer be able to be downloaded, since the path will be different in multer and what we store in the database
Expected behaviour
The filename should be URL encoded before uploading and the same string should be stored in the database
Actual behaviour
The file name is stored without encoding
Steps to reproduce
Make a file submission to an assignment that contains special characters or spaces "hello_ world"
try to retrieve this file using
localhost:3001/course/1/file-upload/
The text was updated successfully, but these errors were encountered:
Subject of the issue
When making a file submissions, if the file name contains special characters, it will no longer be able to be downloaded, since the path will be different in multer and what we store in the database
Expected behaviour
The filename should be URL encoded before uploading and the same string should be stored in the database
Actual behaviour
The file name is stored without encoding
Steps to reproduce
Make a file submission to an assignment that contains special characters or spaces "hello_ world"
try to retrieve this file using
localhost:3001/course/1/file-upload/
The text was updated successfully, but these errors were encountered: