HomeClusterLabs Projects

Fix: libcrmcommon: Escape XML non-printing characters correctly as hex

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix: libcrmcommon: Escape XML non-printing characters correctly as hex

Fixes regression introduced in c6d9cea9.

That commit introduced pcmk__xml_escape(), which (among other things)
escapes non-printing characters as their hexadecimal character
references. However, a prefix of "#x" (instead of only "#") is required
to indicate that the number is in hex rather than decimal.

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

Details

Provenance
nrwahl2Authored on Mar 4 2024, 2:03 PM

Commit No Longer Exists

This commit no longer exists in the repository.