spee.ch icon indicating copy to clipboard operation
spee.ch copied to clipboard

file names saved in File records are the original file name not the stored file name

Open bones7242 opened this issue 7 years ago • 0 comments

When files are uploaded, they are stored with a random hash for the name, which is generated by the multipart middleware. A record is then created in the File table for each file. Currently, the file path being stored for each File record. is correct, but it is listing the file name as the original file name, not the middleware-generated name. This does not affect spee.ch's function at the moment, because spee.ch uses the file path to access the file, but it is incorrect and should be fixed.

bones7242 avatar Jul 06 '18 23:07 bones7242