mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fix virBufferEscapeString escaping of '<'
* src/buf.c (virBufferEscapeString): '<' escaped as "<"
This commit is contained in:
parent
0d0b0113d0
commit
b47ffc035c
@ -1,3 +1,8 @@
|
|||||||
|
Wed Dec 12 16:42:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
Fix virBufferEscapeString escaping of '<'
|
||||||
|
* src/buf.c (virBufferEscapeString): '<' escaped as "<"
|
||||||
|
|
||||||
Wed Dec 12 09:11:44 CET 2007 Jim Meyering <meyering@redhat.com>
|
Wed Dec 12 09:11:44 CET 2007 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
Always build in python/ subdir.
|
Always build in python/ subdir.
|
||||||
|
@ -222,7 +222,7 @@ virBufferEscapeString(virBufferPtr buf, const char *format, const char *str)
|
|||||||
if (*cur == '<') {
|
if (*cur == '<') {
|
||||||
*out++ = '&';
|
*out++ = '&';
|
||||||
*out++ = 'l';
|
*out++ = 'l';
|
||||||
*out++ = 'l';
|
*out++ = 't';
|
||||||
*out++ = ';';
|
*out++ = ';';
|
||||||
} else if (*cur == '>') {
|
} else if (*cur == '>') {
|
||||||
*out++ = '&';
|
*out++ = '&';
|
||||||
|
Loading…
Reference in New Issue
Block a user