diff options
| author | Pim van den Berg | 2010-01-01 19:36:31 +0100 |
|---|---|---|
| committer | Pim van den Berg | 2010-01-01 19:36:31 +0100 |
| commit | bc31ed0e4647a568a1596cc2e09664675479a70d (patch) | |
| tree | 9670e334534e18a9588e18d3feabbcb3a67e734e /host.php | |
| parent | add swap_io support (diff) | |
| download | apt-panopticon_cgp-bc31ed0e4647a568a1596cc2e09664675479a70d.zip apt-panopticon_cgp-bc31ed0e4647a568a1596cc2e09664675479a70d.tar.gz apt-panopticon_cgp-bc31ed0e4647a568a1596cc2e09664675479a70d.tar.bz2 apt-panopticon_cgp-bc31ed0e4647a568a1596cc2e09664675479a70d.tar.xz | |
better validation of possible user input (get)
Diffstat (limited to '')
| -rw-r--r-- | host.php | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -4,8 +4,8 @@ require_once 'conf/common.inc.php'; | |||
| 4 | require_once 'inc/html.inc.php'; | 4 | require_once 'inc/html.inc.php'; |
| 5 | require_once 'inc/collectd.inc.php'; | 5 | require_once 'inc/collectd.inc.php'; |
| 6 | 6 | ||
| 7 | $host = $_GET['h']; | 7 | $host = validate_get($_GET['h'], 'host'); |
| 8 | $splugin = $_GET['p']; | 8 | $splugin = validate_get($_GET['p'], 'plugin'); |
| 9 | 9 | ||
| 10 | html_start(); | 10 | html_start(); |
| 11 | 11 | ||
