HomeClusterLabs Projects

Fix: libcrmcommon: Escape XML text content when adding it

Description

Fix: libcrmcommon: Escape XML text content when adding it

Certain special characters are invalid unless escaped. Create a wrapper,
pcmk__xe_set_content(), that escapes a content string upon request
before calling xmlNodeSetContent().

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Feb 1 2024, 3:36 AM
Parents
rP0c16babaa8bf: Fix: libcrmcommon: Escape XML text content when dumping XML as string
Branches
Unknown
Tags
Unknown