Skip to content
Snippets Groups Projects
Commit 7a7c2d34 authored by Sascha Egerer's avatar Sascha Egerer Committed by Jan Helke
Browse files

[BUGFIX] Do not throw exception for inaccessible folders

In the LocalDriver the PHP RecursiveIteratorIterator implementation is
used to recursively iterate over a directory.
If there is a resource child with limited access an exception is thrown
during the initialization of the iterator.
That means you are even not able to iterate over the other folders.

This patch adds a flag that prevents the iterator to throw the exception.

Resolves: #71328
Releases: master, 7.6
Change-Id: I3373f70bbcd5cdb38e5f8998a1e4c0466f6d5260
Reviewed-on: https://review.typo3.org/49852


Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarZbigniew Jacko <z.jacko@macopedia.pl>
Tested-by: default avatarZbigniew Jacko <z.jacko@macopedia.pl>
Reviewed-by: default avatarKarol Lamparski <klamparski@gmail.com>
Tested-by: default avatarKarol Lamparski <klamparski@gmail.com>
Reviewed-by: default avatarJan Helke <typo3@helke.de>
Tested-by: default avatarJan Helke <typo3@helke.de>
parent a463a707
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment