Security : direct injection
This commit is contained in:
parent
f96180c157
commit
fd6886835c
6 changed files with 35 additions and 41 deletions
|
|
@ -221,7 +221,7 @@ class HtmlInput
|
|||
{
|
||||
if ($p_id=="")
|
||||
$p_id=$p_name;
|
||||
return '<INPUT TYPE="hidden" id="'.$p_id.'" NAME="'.$p_name.'" VALUE="'.$p_value.'">';
|
||||
return '<INPUT TYPE="hidden" id="'.strip_tags($p_id).'" NAME="'.$p_name.'" VALUE="'.strip_tags($p_value).'">';
|
||||
}
|
||||
|
||||
static function extension()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue