mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-11 23:01:41 +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
|
|
@ -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