nextcloud/lib
Lukas Reschke 072794d78d
[stable10] 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:53:26 +01:00
..
composer Opening the trashbin causes errors in log for files without preview 2016-09-13 20:18:09 +02:00
l10n [tx-robot] updated from transifex 2016-12-01 01:07:24 +00:00
private [stable10] Prevent endless loop in \OC\Files\View::createParentDirectories 2016-12-01 16:53:26 +01:00
public write channel to config file when changed 2016-09-26 13:48:05 +02:00
autoloader.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-24 09:11:47 +01:00
base.php Add exemptions for incompatible UAs 2016-09-08 21:06:57 +02:00