mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
xss defense
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9884 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bf1520da2b
commit
a0839b5b1f
2 changed files with 5 additions and 1 deletions
|
|
@ -133,7 +133,7 @@
|
|||
{
|
||||
unset($menu);
|
||||
unset($menuItems);
|
||||
$value->xml_file = sprintf('./files/cache/menu/%s.xml.php',$value->menu_srl);
|
||||
//$value->xml_file = sprintf('./files/cache/menu/%s.xml.php',$value->menu_srl);
|
||||
$value->php_file = sprintf('./files/cache/menu/%s.php',$value->menu_srl);
|
||||
if(file_exists($value->php_file)) @include($value->php_file);
|
||||
|
||||
|
|
|
|||
|
|
@ -251,6 +251,10 @@
|
|||
|
||||
$content_items[0]->setFirstThumbnailIdx($first_thumbnail_idx);
|
||||
}
|
||||
|
||||
$oSecurity = new Security($content_items);
|
||||
$oSecurity->encodeHTML('..variables.title', '..variables.content', '..variables.user_name', '..variables.nick_name');
|
||||
|
||||
return $content_items;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue