yumRepos.py - preserve queryparams in urls

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.

--
Regards

	Michael Calmer

--------------------------------------------------------------------------
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575  - e-mail: Michael.Calmer@suse.com
--------------------------------------------------------------------------
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
HRB 16746 (AG Nürnberg)

>From 964f75c66170d7d5aa860f2dd37d5a079f900bde Mon Sep 17 00:00:00 2001
From: Michael Calmer <mc@suse.de>
Date: Fri, 12 Sep 2014 13:05:04 +0200
Subject: [PATCH] preserve queryparams in urls

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 an invalid URL.