mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#1787 IE+XpressEditor에서 업로드가 되지 않는 문제점 수정
IE+SwfUploader 사용시 procFileUpload 가 호출될 때 referer가 포함되지 않아, 업로드가 되지 않는 문제점을 수정합니다.
This commit is contained in:
parent
6ea97e35d3
commit
c58fd62b50
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue