if you for some reason have a symlink inside the imagecache folder. the function will blindly delete all files and folders in the symlinks target folder
this could lead to serious problems while sharing images between sites

CommentFileSizeAuthor
#1 895168.patch673 bytesramlev

Comments

ramlev’s picture

StatusFileSize
new673 bytes

Wont this patch fix the problem ?

The problem, is that there isn't a check for if a path is a symbolic link.

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.