nextcloud/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
..
composer Update class map 2016-11-18 12:10:51 +01:00
l10n [tx-robot] updated from transifex 2016-12-01 01:07:17 +00:00
private Prevent endless loop in \OC\Files\View::createParentDirectories 2016-12-01 16:57:12 +01:00
public prevent warning in StreamResponse 2016-11-29 15:29:02 +01:00
autoloader.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
base.php Merge pull request #2322 from nextcloud/compat-with-chrome54 2016-11-25 12:00:56 +01:00