Skip to content

Commit

Permalink
OTCWebsite: escape notes query on ratingsfilter.
Browse files Browse the repository at this point in the history
Thanks to mattjnc of bitsec.in for the heads-up.
  • Loading branch information
Daniel Folkinshteyn committed Aug 16, 2013
1 parent d4af380 commit 14d3d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OTCWebsite/ratingsfilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<tr>
<td style="text-align: left;">
<form method="GET" action="ratingsfilter.php?">
<label>Search notes: <input type="text" name="notes" value="<?php echo $notesfilter; ?>"/></label>
<label>Search notes: <input type="text" name="notes" value="<?php echo htmlspecialchars($notesfilter); ?>"/></label>
<input type="submit" value="Filter" />
</form>
</td>
Expand Down

0 comments on commit 14d3d7d

Please sign in to comment.