#106212Files getting moved outside of a storage
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
Related issues 1
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 88280 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-02-19T14:34:43+00:00" > 02/19/25, 14:34 </span> -
Garvin Hicking changed Related to #106213 <span data-processor="relativetime" data-value="2025-02-19T15:06:58+00:00" > 02/19/25, 15:06 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 88280 <span data-processor="relativetime" data-value="2025-02-19T15:07:44+00:00" > 02/19/25, 15:07 </span>
-
Garvin Hicking changed status
Under ReviewRejected <span data-processor="relativetime" data-value="2026-10-19T11:59:06+00:00" > 10/19/26, 11:59 </span>