mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-30 07:42:11 +09:00
#2127 에디터 컴포넌트에 관련한 보안 문제 고침
This commit is contained in:
parent
d0d5e81e08
commit
3b557978e9
3 changed files with 15 additions and 1 deletions
|
|
@ -62,6 +62,12 @@ class editorView extends editor
|
|||
|
||||
$oEditorModel = getModel('editor');
|
||||
$component = $oEditorModel->getComponent($component_name, $site_srl);
|
||||
|
||||
if(!$component->component_name) {
|
||||
$this->stop('msg_invalid_request');
|
||||
return;
|
||||
}
|
||||
|
||||
Context::set('component', $component);
|
||||
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue