Skip to content

Commit

Permalink
Prevent SQL injection
Browse files Browse the repository at this point in the history
git-svn-id: http://chianti.ucsd.edu/svn@31177 0ecc0d97-ab19-0410-9704-bfe1a75892f5
  • Loading branch information
pwang committed May 17, 2013
1 parent 6b484e5 commit 20dbfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new_cytoscape_website/bugreport/attachedFiledownload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$file_id = null;
if (isset ($_GET['file_id'])) {
$file_id = ($_GET['file_id']);
$file_id = mysql_real_escape_string($_GET['file_id']);
}
else {
exit("File ID unknow!");
Expand Down

0 comments on commit 20dbfb9

Please sign in to comment.