Merge pull request #1788 from YJSoft/fix/ieupload

#1787 IE+XpressEditor에서 업로드가 되지 않는 문제점 수정
This commit is contained in:
bnu 2015-10-23 13:18:10 +09:00
commit a8b1379ee8

View file

@ -410,8 +410,8 @@ class ModuleHandler extends Handler
$logged_info = Context::get('logged_info');
// check CSRF for admin actions
if(Context::getRequestMethod() === 'POST' && Context::isInstalled() && !checkCSRF()) {
// check CSRF for POST actions
if(Context::getRequestMethod() === 'POST' && Context::isInstalled() && $this->act !== 'procFileUpload' && !checkCSRF()) {
$this->error = 'msg_invalid_request';
$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
$oMessageObject->setError(-1);