mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
XSS Defense for module selector
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10075 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2ceea18a77
commit
2cc05afe74
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@
|
|||
Context::set('selected_module', $selected_module);
|
||||
Context::set('selected_mids', $mid_list[$selected_module]->list);
|
||||
Context::set('module_category_exists', $module_category_exists);
|
||||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('id', 'type');
|
||||
|
||||
// Set the layout to be pop-up
|
||||
$this->setLayoutFile('popup_layout');
|
||||
// Set a template file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue