HomeClusterLabs Projects

Fix: libcrmcommon: Escape XML text content when dumping XML as string

Description

Fix: libcrmcommon: Escape XML text content when dumping XML as string

If special characters such as '<' are allowed in XML strings, the
dumped strings may be unparsable.

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

Details

Provenance
nrwahl2Authored on Jan 30 2024, 3:44 AM
Parents
rP9e3b6ac74e31: API: libcrmcommon: Deprecate crm_xml_escape()
Branches
Unknown
Tags
Unknown