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:
ovclas 2012-02-06 04:30:26 +00:00
parent 2ceea18a77
commit 2cc05afe74

View file

@ -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