diff options
| author | Pim van den Berg | 2016-01-05 21:36:01 +0100 |
|---|---|---|
| committer | Pim van den Berg | 2016-01-05 21:38:03 +0100 |
| commit | af0adbbdfa262c3782de4d7f57e87fb7705f9397 (patch) | |
| tree | 4e7f0805137dafdbfe0059bec36b9c659d4389b1 /host.php | |
| parent | inc/functions: a host, pi and ti may contain colons (:) and spaces ( ) (diff) | |
| download | apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.zip apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.gz apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.bz2 apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.xz | |
explicitly set Content-Type header to text/html
Closes #128
Diffstat (limited to '')
| -rw-r--r-- | host.php | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -4,6 +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 | header("Content-Type: text/html"); | ||
| 8 | |||
| 7 | $host = GET('h'); | 9 | $host = GET('h'); |
| 8 | $plugin = GET('p'); | 10 | $plugin = GET('p'); |
| 9 | 11 | ||
