Skip to content

Commit

Permalink
Fix security issue
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkasper committed Dec 6, 2013
1 parent afe5f58 commit 1856c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/linkgraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"--slope-mode --alt-autoscale -u 0 -l 0 --imgformat=PNG --base=1000 --height=$height --width=$width " .
"--color BACK#ffffff00 --color SHADEA#ffffff00 --color SHADEB#ffffff00 ";

if (@$_GET['v'])
if (isset($_GET['v']) && is_numeric($_GET['v']))
$cmd .= "--title IPv" . $_GET['v'] . " ";

/* geneate RRD DEFs */
Expand Down

0 comments on commit 1856c64

Please sign in to comment.