Open
Description
Uncovered an interesting behaviour/bug? when uploading multiple files that have the same filename. Behaves as follows:
- From a file upload form with
multiple
set toTrue
select 2 or more files with the same exact file name (this is possible on MacOs at least if the files are in different folders, but the file chooser modal is set to a parent folder of these folders - see screenshot for example). - Only one of the files is actually uploaded to the
tmp
folder. - If you select
n
different files, thenn
copies of the single uploaded file are copied from thetmp
folder to their final destination, so instead ofn
different files with the same name, you end up withn
copies of just one of the files.
I haven't dug in deeper yet.