[Yum-devel] [PATCH] ensure all attribute values are utf-8-encoded strs and properly xml-attribute-escaped

Seth Vidal skvidal at fedoraproject.org
Tue Aug 18 15:15:10 UTC 2009



On Tue, 18 Aug 2009, Seth Vidal wrote:

>
>
> On Thu, 6 Aug 2009, Mike Bonnet wrote:
>> In all of the instances here the values are being used in XML attributes, 
>> which is why I'm using to_xml(attrib=True).  This handles the case of a 
>> version or release containing a value not allowed in an attribute (a < or " 
>> for example).  Not likely, but possible.
>
> agreed and will be committed shortly. Thank you.
>

actually, I take that back - all but a couple of lines of this patch had 
been applied already:

http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=3e0325de50a1b5194d04d82db61f1d4170e5c370

but I applied the rest. Thank you.

-sv



More information about the Yum-devel mailing list