File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
* License: GNU/GPLv2
9
9
* @see LICENSE.txt
10
10
*
11
- * This file: Front-end handler (last modified: 2025.09.26 ).
11
+ * This file: Front-end handler (last modified: 2025.10.03 ).
12
12
*/
13
13
14
14
namespace phpMussel \FrontEnd ;
@@ -998,10 +998,10 @@ private function quarantineRecursiveList(): array
998
998
$ Arr = [];
999
999
$ Key = -1 ;
1000
1000
$ Offset = strlen ($ this ->Loader ->QuarantinePath );
1001
- $ List = new \RecursiveIteratorIterator (new \RecursiveDirectoryIterator (
1001
+ $ List = new \LimitIterator ( new \ RecursiveIteratorIterator (new \RecursiveDirectoryIterator (
1002
1002
$ this ->Loader ->QuarantinePath ,
1003
- \RecursiveDirectoryIterator::FOLLOW_SYMLINKS
1004
- ), \RecursiveIteratorIterator::SELF_FIRST );
1003
+ \RecursiveDirectoryIterator::FOLLOW_SYMLINKS | \RecursiveDirectoryIterator:: SKIP_DOTS | \RecursiveDirectoryIterator:: UNIX_PATHS
1004
+ ), \RecursiveIteratorIterator::SELF_FIRST ), 0 , 1000 ) ;
1005
1005
foreach ($ List as $ Item => $ List ) {
1006
1006
/** Skips if not a quarantined file. */
1007
1007
if (strtolower (substr ($ Item , -4 )) !== '.qfu ' || is_dir ($ Item ) || !is_file ($ Item ) || !is_readable ($ Item )) {
You can’t perform that action at this time.
0 commit comments