We now run some file sanitization on the file name when uploading a file. This prevents users from maliciously overriding files on server.
Test
Rely on existing file upload unit tests to make sure functionality is not broken. Also, write a suite of comprehensive unit tests for the file sanitization function.
Description
We now run some file sanitization on the file name when uploading a file. This prevents users from maliciously overriding files on server.
Test
Rely on existing file upload unit tests to make sure functionality is not broken. Also, write a suite of comprehensive unit tests for the file sanitization function.