mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 1353 xss defense modify
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10271 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a8a6e2b248
commit
9307d94fc8
2 changed files with 1 additions and 2 deletions
|
|
@ -142,7 +142,6 @@
|
|||
|
||||
$security = new Security();
|
||||
$security->encodeHTML('member_config..');
|
||||
$security->encodeHTML('memberInfo.user_name', 'memberInfo.nick_name', 'memberInfo.find_account_answer', 'memberInfo.description','memberInfo.group_list..');
|
||||
$security->encodeHTML('extend_form_list...');
|
||||
|
||||
$this->setTemplateFile('member_info');
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@
|
|||
|
||||
// XSS defence
|
||||
$oSecurity = new Security($info);
|
||||
$oSecurity->encodeHTML('user_name', 'nick_name', 'address.', 'group_list.');
|
||||
$oSecurity->encodeHTML('user_name', 'nick_name', 'find_account_answer', 'description', 'address.', 'group_list..');
|
||||
|
||||
if($extra_vars)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue