Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deal with iLO bugs that cause non-ascii data in XML
The data returned by the iLO must be ascii-only, with non-ascii characters replaced with xml charrefs. Unfortunately, this is not done consistently. FOr example, the serial number is not escaped, but put in raw, so if the serialnumber is broken (I've had reports of it being set to U+0090), the XML is broken. Work around this by detecting non-ascii data, replacing that data and warning if we do so.
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters