[PATCH] yumRepos.py - preserve queryparams in urls

James Antill james at fedoraproject.org
Wed Sep 17 03:45:15 UTC 2014


On Fri, 2014-09-12 at 13:09 +0200, Michael Calmer wrote:
> Hi,
> 
> attached you can find a patch for yum to preserve query parameter in urls.
> A second patch for urlgrabber will follow.
> 
> Some CDN do token authentication by appending a token to the URL
> as query parameter. So the baseurl could be something like:
> 
> https://host.domain.top/path/?abcdef1234567890
> 
> Simply appending the relative part to it will result in something like this
> 
>   https://host.domain.top/path/?abcdef1234567890/repodata/repomd.xml
> 
> which is simply wrong.

 This is pushed upstream, and also built in rawhide/etc.



More information about the Yum-devel mailing list