]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs: get config property: escape double quote and backslash
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jun 2019 07:01:59 +0000 (09:01 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 13 Jun 2019 07:22:46 +0000 (09:22 +0200)
commitcb7cea8044414f16dfc0bf1c64c8ad2c677e4ffb
tree29fe97b3bfb3f9059a22e7e6aa508d7ff9f327d1
parentcf1b19d9adc57571b503737188d30a87e6044792
pmxcfs: get config property: escape double quote and backslash

This are the most relevant from as the bite JSON really and can in
theory be in our configuration property values.

While technically a literal \t, \b, \f, \r (but not \n) can be an
issue too, this values normally really do not get written into the
config by our stack, if it has been manually added, but that's off
limits. If we really need it we can add it always in the future

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/status.c