spee.ch
spee.ch copied to clipboard
file names saved in File records are the original file name not the stored file name
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.