Files
nextcloud-server-mirror/lib/private
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-10-31 18:42:19 +01:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:58 +02:00
2016-11-15 18:51:52 +01:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:58 +02:00
2016-10-07 21:56:43 +02:00
2016-07-21 18:13:58 +02:00
2016-11-16 15:24:28 +01:00
2016-10-06 12:42:46 +02:00
2016-07-21 18:13:57 +02:00
2016-09-01 12:30:05 +02:00
2016-07-21 18:13:57 +02:00
2016-11-16 19:21:00 +01:00
2016-11-24 13:20:51 +01:00
2016-07-21 18:13:57 +02:00
2016-11-24 21:50:19 +01:00
2016-07-21 18:13:58 +02:00
2016-11-21 13:46:31 +01:00
2016-11-04 07:41:35 +01:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-09-27 14:52:22 +02:00
2016-11-16 18:52:49 +01:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:57 +02:00
2016-10-05 11:00:16 +02:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-10-07 16:23:05 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:57 +02:00
2016-11-03 14:00:32 +01:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:57 +02:00
2016-11-28 14:26:30 +01:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:57 +02:00
2016-07-21 18:13:58 +02:00
2016-07-21 18:13:58 +02:00