Ján Tomko b19b91a9f2 Strip control codes in virBufferEscapeString
These cannot be represented in XML.

We have been stripping them, but only if the string had
characters that needed escaping: <>"'&

Extend the strcspn check to include control codes, and strip
them even if we don't do any escaping.

https://bugzilla.redhat.com/show_bug.cgi?id=1184131
https://bugzilla.redhat.com/show_bug.cgi?id=1066564
(cherry picked from commit aeb5262e4397528d582682471cb8075141189465)
2015-04-27 19:14:32 -04:00
..
2014-09-03 09:36:13 -06:00
2015-01-16 14:07:46 +01:00
2014-01-01 16:34:13 +00:00
2015-01-04 11:10:14 -07:00
2014-09-03 09:36:13 -06:00
2014-12-09 10:02:20 -05:00
2014-09-04 15:18:43 -06:00
2014-08-18 20:36:24 -06:00
2015-02-20 16:17:19 +01:00
2014-11-25 08:47:12 -07:00
2014-04-08 11:15:55 +01:00