Fix #5363: Inconsistent order of files from zip uploads.
Upload files in natural order rather than archive order when uploading archive files. Before files were listed in the same order they appeared in the zip file. This could be in non-alphabetical order, or even with files from different directories interleaved between each other. Now files are uploaded in natural order, which is alphabetical order but with numbers sorted properly, so that `file-9.jpg` appears before `file-10.jpg`.
This commit is contained in:
BIN
test/files/archive/out-of-order.zip
Normal file
BIN
test/files/archive/out-of-order.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user