author | Bruno Prémont <bonbons@linux-vserver.org> | |
Sun, 1 Mar 2009 21:20:06 +0000 (22:20 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 2 Mar 2009 08:31:18 +0000 (09:31 +0100) | ||
commit | d224ff4d51d564910eba4fe88516cd604ea00620 | |
tree | e0f587d8ac08539a875ca95cf3ed75232e93b04a | tree | snapshot |
parent | 77ee96acaa60fce37451037c1781b19921836026 | commit | diff |
php-collection/functions.php: Escape/avoid problematic characters in RRD commandline
php-collection/functions.php: Escape/avoid problematic characters in RRD commandline
rrdtool does not like '!' in variable names so replace them with '_'.
(bind plugin has them in a few type-instances and type-instance is used
as variable name by MetaGraphs)
Also escape rrdtool field seperators that might appear in file names.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
php-collection/functions.php: Escape/avoid problematic characters in RRD commandline
rrdtool does not like '!' in variable names so replace them with '_'.
(bind plugin has them in a few type-instances and type-instance is used
as variable name by MetaGraphs)
Also escape rrdtool field seperators that might appear in file names.
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/php-collection/functions.php | diff | blob | history |