[Rpm-metadata] URL-encoded hrefs
Ville Skyttä
ville.skytta at iki.fi
Tue Mar 5 19:39:04 UTC 2013
On 2013-03-05 00:09, James Antill wrote:
> On Mon, 2013-03-04 at 10:11 -0800, Ash Charles wrote:
>> Is there a flag or setting for createrepo that allows it to generate
>> urlencoded hrefs? If not, would the project be open to a patch that
>> made this option available?
>
> What version are you using?
> The current upstream createrepo uses yum which does call to_xml(blah,
> attrib=True) in all code paths, that I can see.
But that's XML encoding, while the OP is asking about URL encoding.
Which IMO should Just Happen properly if it already doesn't (haven't
checked) without any configuration options - if there's a + in a
filename, it needs to be encoded as %2B in a URL.
More information about the Rpm-metadata
mailing list