Issue Bug Rejected

#106212Files getting moved outside of a storage

Garvin Hicking 02/19/25, 14:34 updated 10/19/26, 11:59

Description

On a webserver using aliased documentRoots and symlinks, uploading a file
can to the filelist can lead to the original file being moved to the processed location
under some circumstances:

1. The uploaded file is smaller than 150px width (150px is used as a preview image for the metadata editing formengine view)
2. The GFX.allowUpscaling setting is set to “false” (not default)
3. The uploaded file’s metadata is getting displayed for FormEngine editing
4. Now, due to the smaller width, the original file is regarded the “maximum processed file” and then the original file is tried to be moved to the processing location, thereby removing the file

Due to a bug in securing a case like this for symlinked setups, this move process is carried out and not prevented through a global exception guarding the situation.

Reviews 3

History 24

  1. Gerrit Code Review pushed patch set 1 for main to change 88280 status Accepted Under Review <span data-processor="relativetime" data-value="2025-02-19T14:34:43+00:00" > 02/19/25, 14:34 </span>