Révision 85a40280
Ajouté par Renato Botelho il y a presque 10 ans
usr/local/www/status_rrd_graph_img.php | ||
---|---|---|
57 | 57 |
|
58 | 58 |
/* this is used for temp name */ |
59 | 59 |
if ($_GET['graph']) { |
60 |
$curgraph = str_replace(array("<", ">", ";", "&", "'", '"'), "", htmlspecialchars_decode($_GET['graph'], ENT_QUOTES | ENT_HTML401)); |
|
60 |
$curgraph = str_replace(array("<", ">", ";", "&", "'", '"', '.', '/'), "", htmlspecialchars_decode($_GET['graph'], ENT_QUOTES | ENT_HTML401));
|
|
61 | 61 |
} else { |
62 | 62 |
$curgraph = "custom"; |
63 | 63 |
} |
Formats disponibles : Unified diff
Remove also . and / from graph