¿Æ¼¼ÐÐÕß

ÐÐÕßѧԺ תÐÍ˽¶­»á ¿Æ¼¼ÐÐÕßרÌⱨµÀ Íøºì´óÕ½¿Æ¼¼ÐÐÕß

֪ʶ¿â

֪ʶ¿â °²È«µ¼º½

ÖÁ¶¥Íø°²È«ÆµµÀÓ¦Óð²È« ¡¡¡¡ÐÞ²¹CKFinder±à¼­Æ÷Îļþ½âÎö©¶´

¡¡¡¡ÐÞ²¹CKFinder±à¼­Æ÷Îļþ½âÎö©¶´

  • ɨһɨ
    ·ÖÏíÎÄÕµ½Î¢ÐÅ

  • ɨһɨ
    ¹Ø×¢¹Ù·½¹«ÖÚºÅ
    ÖÁ¶¥Í·Ìõ

ÕâÖÖ©¶´ÂúÌì϶¼ÊÇ µ±È»ÎÒÃÇÓõÄÒ»¸ö³ÌÐòÒ²²»ÀýÍâ ˳±ã±íʾÎÒÊÇphpÎÄä È˶¼ÊDZƳöÀ´µÄ°¡~ÎÒÃÇÐèÒª×öµÄÊǽ«ÖØÃüÃûĿ¼

À´Ô´£ºzdnetÕûÀí 2011Äê6ÔÂ6ÈÕ

¹Ø¼ü×Ö£º Web°²È« Ó¦Óð²È«

  • ÆÀÂÛ
  • ·ÖÏí΢²©
  • ·ÖÏíÓʼþ

¡¡¡¡ÕâÖÖ©¶´ÂúÌì϶¼ÊÇ µ±È»ÎÒÃÇÓõÄÒ»¸ö³ÌÐòÒ²²»ÀýÍâ ˳±ã±íʾÎÒÊÇphpÎÄä È˶¼ÊDZƳöÀ´µÄ°¡~ÎÒÃÇÐèÒª×öµÄÊǽ«ÖØÃüÃûĿ¼ ÖØÃüÃûÎļþ ½¨Á¢Ä¿Â¼¶¼×¢Ê͵ô ºÜ¼òµ¥ ¿´¿´´úÂë¾ÍÖªµÀÁËËùÓеĺ¯Êý¶¼ÊÇ×¥°ü»ñÈ¡µÄ È»ºóÈ¥ÎļþÖÐÕÒ ×¢Ê͵ô ÏÂÃæÎÒ¸ø³ö´ó¼Òµ±È»Ä¿Â¼²»Ò»¶¨¾ÍÊÇÕâ¸ö·¾¶ ´ó¼Ò¿ÉÒÔ°´ÕÕʵ¼ÊÇé¿öȥѰÕÒÎļþ0x1 ×¢Ê͵ô´´½¨Ä¿Â¼ckfinder\core\connector\php\php4\CommandHandler\CreateFolder.phpckfinder\core\connector\php\php5\CommandHandler\CreateFolder.php/*½ûÖ¹´´½¨ÐÂÎļþ¼Ð$sNewFolderName = isset($_GET["NewFolderName"]) ? $_GET["NewFolderName"] : "";$sNewFolderName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($sNewFolderName);if ($_config->forceAscii()) {$sNewFolderName = CKFinder_Connector_Utils_FileSystem::convertToAscii($sNewFolderName);}

¡¡¡¡if (!CKFinder_Connector_Utils_FileSystem::checkFileName($sNewFolderName) || $_resourceTypeConfig->checkIsHiddenFolder($sNewFolderName)) {$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);}

¡¡¡¡*/0x2×¢Ê͵ôÖØÃüÃûÎļþckfinder\core\connector\php\php4\CommandHandler\RenameFile.phpckfinder\core\connector\php\php5\CommandHandler\RenameFile.php/*½ûÖ¹ÖØÃüÃûÎļþ}

¡¡¡¡if (!isset($_GET["newFileName"])) {$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);}

¡¡¡¡*/0x3×¢Ê͵ôÖØÃüÃûĿ¼ckfinder\core\connector\php\php4\CommandHandler\RenameFolder.phpckfinder\core\connector\php\php5\CommandHandler\RenameFolder.php/*½ûÖ¹ÖØÃüÃûÎļþ¼Ðif (!isset($_GET["NewFolderName"])) {$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);}

¡¡¡¡$newFolderName = CKFinder_Connector_Utils_FileSystem::convertToFilesystemEncoding($_GET["NewFolderName"]);$_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");if ($_config->forceAscii()) {$newFolderName = CKFinder_Connector_Utils_FileSystem::convertToAscii($newFolderName);}

¡¡¡¡$resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();if (!CKFinder_Connector_Utils_FileSystem::checkFileName($newFolderName) || $resourceTypeInfo->checkIsHiddenFolder($newFolderName)) {$this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_INVALID_NAME);}

¡¡¡¡*/

    • ÆÀÂÛ