write_graphite plugin: Escape *all* the things!
authorFlorian Forster <octo@collectd.org>
Fri, 3 Feb 2012 09:34:51 +0000 (10:34 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 3 Feb 2012 09:34:51 +0000 (10:34 +0100)
commit3506f7a5735c6ad217323c0ad3cb3ba24bc8a6f9
tree76c62660c2941bb65405952be5fdf963b22c30d8
parentbf92e4541ad2740c5bfa223d5d28b283de6bca07
write_graphite plugin: Escape *all* the things!

Dots and spaces can appear anywhere, e.g. spaces in hostnames and dots in type
instances. Escape them all to avoid unintended special treatment by Carbon /
Graphite.

Change-Id: Iccc330934bcd765a237a1fed42d0cdb4bf3aa2b1
src/write_graphite.c