« Previous | Next » 

Revision 12eea665


Added by Bastian Waidelich almost 10 years ago

[BUGFIX] Files::emptyDirectoryRecursively affects targets of symlinks

\TYPO3\FLOW3\Utility\Files::removeDirectoryRecursively() fails to
properly unlink directory symlinks on Windows.

Thus \TYPO3\FLOW3\Utility\Files::emptyDirectoryRecursively()
iterates through the target files of a symlinked folder and
removes them!

This change fixes this by introducing a custom unlink() function
that can remove a symlink regardless of it's type (file/directory).

Change-Id: Ia0aef3edf326d89bd87016e6fd654693fed85c02
Fixes: #32550
Releases: 1.0, 1.1

  • added
  • modified
  • copied
  • renamed
  • deleted