When an enumerate is done, it is possible that the iDRAC may return
invalid UTF8 that contains non-ASCII characters. This causes an
XMLSyntaxError to be thrown. This fix detects that situation and
filters out all non-ASCII characters to bypass the error.
Reviewed: https:/ /review. openstack. org/579673 /git.openstack. org/cgit/ openstack/ python- dracclient/ commit/ ?id=0de8b417683 527132f7ae6bc9a 403a5a83b99488
Committed: https:/
Submitter: Zuul
Branch: master
commit 0de8b4176835271 32f7ae6bc9a403a 5a83b99488
Author: Christopher Dearborn <email address hidden>
Date: Mon Jul 2 15:33:34 2018 -0400
Filter out non-ASCII characters on invalid UTF8
When an enumerate is done, it is possible that the iDRAC may return
invalid UTF8 that contains non-ASCII characters. This causes an
XMLSyntaxError to be thrown. This fix detects that situation and
filters out all non-ASCII characters to bypass the error.
See the following bug for further details: /bugs.launchpad .net/python- dracclient/ +bug/1779412
https:/
Closes-Bug: #1779412 20dcdd95c8d7e2a 26e0bf97a7d
Change-Id: I5003785dee9229