Index: branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/RenameFolder.php =================================================================== diff -u -N -r15042 -r15316 --- branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/RenameFolder.php (.../RenameFolder.php) (revision 15042) +++ branches/5.2.x/core/ckeditor/ckfinder/core/connector/php/php5/CommandHandler/RenameFolder.php (.../RenameFolder.php) (revision 15316) @@ -3,7 +3,7 @@ * CKFinder * ======== * http://ckfinder.com - * Copyright (C) 2007-2011, CKSource - Frederico Knabben. All rights reserved. + * Copyright (C) 2007-2012, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, @@ -67,7 +67,7 @@ } $resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig(); - if (!CKFinder_Connector_Utils_FileSystem::checkFileName($newFolderName) || $resourceTypeInfo->checkIsHiddenFolder($newFolderName)) { + if (!CKFinder_Connector_Utils_FileSystem::checkFolderName($newFolderName) || $resourceTypeInfo->checkIsHiddenFolder($newFolderName)) { $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME); }