Index: branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/Utils/Security.php =================================================================== diff -u -N -r16404 -r16692 --- branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/Utils/Security.php (.../Security.php) (revision 16404) +++ branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/Utils/Security.php (.../Security.php) (revision 16692) @@ -43,7 +43,7 @@ $this->stripQuotes($_COOKIE); } if (!empty($_FILES)) { - while (list($k,$v) = each($_FILES)) { + foreach ( array_keys($_FILES) as $k ) { if (isset($_FILES[$k]['name'])) { $this->stripQuotes($_FILES[$k]['name']); } @@ -64,7 +64,7 @@ { if (is_array($var)) { if ($depth++<$howDeep) { - while (list($k,$v) = each($var)) { + foreach ( array_keys($var) as $k ) { $this->stripQuotes($var[$k], $depth, $howDeep); } }