[libvirt] [PATCH] avoid XML attributes escaping problems

Daniel Veillard veillard at redhat.com
Wed May 13 16:20:31 UTC 2009


On Wed, May 13, 2009 at 10:31:31AM +0100, Daniel P. Berrange wrote:
> On Tue, May 12, 2009 at 05:08:21PM +0200, Daniel Veillard wrote:
> >   The associated patch solves
> >   https://bugzilla.redhat.com/show_bug.cgi?id=499791
> > where ' or " character in attribute values may lead to non
> > well-formed XML. This takes the simplest approach to always escape
> > then to ' and " since this is completely equivalent from
> > an XML point of view and avoid the trouble.
> 
> ACK, this is simpler than the change I was suggesting :-)

  Thanks, commited !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list