Skip to content

Commit

Permalink
Fixed|Codex: Sanitize search term in find_tag.php
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jul 27, 2013
1 parent 78961b9 commit 4759e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/build/scripts/codex.py
Expand Up @@ -343,7 +343,7 @@ def print_date_sorted_commits(out, coms, tag, linkSuffix='', colorIdx=None):

print >> out, '$tags = array(', string.join(['"%s" => "%s"' % (tag, tag_filename(tag)) for tag in byTag.keys()], ', '), ');'
print >> out, """
$input = $_GET["tag"];
$input = stripslashes(strip_tags($_GET["tag"]));
$style = $_GET["style"];
if($style == 'grouped') {
$style = 'group_';
Expand Down

0 comments on commit 4759e7c

Please sign in to comment.