mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
xss defense
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10220 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
90c18a8bb8
commit
9be2ea84b4
1 changed files with 3 additions and 0 deletions
|
|
@ -512,6 +512,9 @@
|
||||||
$args->member_srl = $member_srl;
|
$args->member_srl = $member_srl;
|
||||||
$args->sid = md5(rand(rand(1111111,4444444),rand(4444445,9999999)));
|
$args->sid = md5(rand(rand(1111111,4444444),rand(4444445,9999999)));
|
||||||
|
|
||||||
|
$security = new Security($args->source_filename);
|
||||||
|
$args->source_filename = $security->encodeHTML();
|
||||||
|
|
||||||
$output = executeQuery('file.insertFile', $args);
|
$output = executeQuery('file.insertFile', $args);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
// Call a trigger (after)
|
// Call a trigger (after)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue