Skip to content

Commit

Permalink
[BUGFIX] Fix after security
Browse files Browse the repository at this point in the history
  • Loading branch information
yunasc committed Jun 9, 2014
1 parent 0ba3fd4 commit bc4e9fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usersearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ function get_user_icons($arr, $big = false)
?>
</select>

<input name="ls" type="text" value="<?=intval($_GET['ls'])?>" size="12" maxlength="10">
<input name="ls" type="text" value="<?=htmlspecialchars_uni($_GET['ls'])?>" size="12" maxlength="10">

<input name="ls2" type="text" value="<?=intval($_GET['ls2'])?>" size="12" maxlength="10"></td>
<input name="ls2" type="text" value="<?=htmlspecialchars_uni($_GET['ls2'])?>" size="12" maxlength="10"></td>
<td valign="middle" class=rowhead>Ñêà÷àë:</td>

<td<?=$_GET['dl']?$highlight:""?>><select name="dlt" id="dlt">
Expand Down

0 comments on commit bc4e9fb

Please sign in to comment.