-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review all recursive file operations - could cause issues on deep folder hierarchies beyond 100 #8476
Comments
@DeepDiver1975 In this case it seems to be XDebug's xdebug.max_nesting_level setting aborting the execution. I am not sure whether there is a recursion function call limit in PHP. I suspect the proper solution to this is to just get rid of recursive function calls and use Iterators, e.g. see RecursiveDirectoryIterator http://www.php.net/manual/de/class.recursivedirectoryiterator.php |
PHP has a max input nesting level, which is for the depth of the input variables GET and POST. |
Ah - it's xdebug - did not know this - thx |
I am tagging this "Low" since this should not happen in practise due |
@DeepDiver1975 Unschedule this for oC7? Nobody is supposed to have xdebug in production. |
@DeepDiver1975, is this still a valid issue? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
@karlitschek @icewind1991
Looks like we currently have a limitation on the folder structure depth we can handle due to php's max recursion handling.
We could either limit ownCloud's folder depth or replace all recursions with different implementations.
Open question:
The text was updated successfully, but these errors were encountered: