DescriptionBug 343571: Dragging and dropping a directory containing a symlink results in the symlink being ignored.
DraggedFileUtil inherits some of its operations from LocalFileUtil and its LocalFileEnumerator, both performing checks to avoid following symbolic links for security reasons (as it should be for generic local files).
However, files coming from a drag & drop operation can be considered "trusted files" (after all, the user is who is dropping them there on purpose) and should honor symbolic links.
This patch modifies DraggedFileUtil to override that behaviour, acting as LocalFileUtil does, but without skipping symbolic links.
To achieve this, a new FollowSymlinksLocalFileEnumerator is defined, which also does the same as LocalFileEnumerator but without the checks.
BUG=343571
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|