fix(uploads): ugly filenames on uploaded asset downloading
During regular processing, a timestamp is prepended to the filename for any uploaded files. We don't want this to be part of the filename if an end-user elects to download the file. This commit adds a middleware to strip out that portion of the basename and adds the appropriate Content-Disposition header for files in /uploads/files Fixes #6953v1.18.x
parent
e7f9cff7b5
commit
f96208a0c8
Loading…
Reference in New Issue