Files
nextcloud-server-mirror/lib
Lukas Reschke b7f866988e Prevent endless loop in \OC\Files\View::createParentDirectories
\OC\Files\View::createParentDirectories was previously prone to an endless loop. If a path such as /foo/existingfile.txt/bar/foo was passed and existingfile.txt existed in foo the loop was never left and running until the PHP process timed out.

This commit changes the logic to a foreach loop over an array and additionally additional error handling using is_file.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-01 16:57:12 +01:00
..
2016-11-18 12:10:51 +01:00
2016-12-01 01:07:17 +00:00
2016-11-29 15:29:02 +01:00