[Libosinfo] [PATCH] osinfo-install-script: read config values as strings
Christophe Fergeau
cfergeau at redhat.com
Mon Mar 17 15:35:56 UTC 2014
On Mon, Mar 17, 2014 at 03:20:44PM +0100, Giuseppe Scrivano wrote:
> Prefer xmlNewDocRawNode to xmlNewDocNode when the content is a raw
> string.
>
> Solves this problem:
>
> $ osinfo-install-script rhel6.5 -c "admin-password=a&b"
> error : unterminated entity reference b
Shouldn't we be XML-escaping user-input instead (
xmlEncodeEntitiesReentrant() ) ?
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20140317/c2bf6ba2/attachment.sig>
More information about the Libosinfo
mailing list