seporaitis/yum-s3-iam — pull request #11 by paulegan (2013-02-01 00:17:35+00:00)
Title: Ensure urljoin doesn't ignore base path

This fixes the 403 error when the repo baseurl is defined without a trailing slash.

e.g. When `baseurl=http://BUCKET.s3.amazonaws.com/repo` is accessed the metadata url is mistakenly mapped to `http://BUCKET.s3.amazonaws.com/repodata/repomd.xml` because `urljoin` drops the "repo" path suffix. The resulting url doesn't exist and s3 response with a 403.