Actions
Issue #1348
closedyum importer adds trailing slash, even when URL has a query string
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.6.4
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:
Description
Two facts:
- SLES 12 repositories authorize CDN distribution via a GET param.
- The pulp_rpm yum importer unconditionally adds a trailing slash to all URLs that don't have one.
Here's the offender (from master commit at time of posting):
https://github.com/pulp/pulp_rpm/blob/9c62850f99724de2cef3da5f3898dce01434e4b8/plugins/pulp_rpm/plugins/importers/yum/sync.py#L94
Related issues
Actions
Add trailing slash to URL path, not the entire URL
fixes #1348
This is built on some hefty changes made for 2.7, and (for the moment) isn't wanted by anyone but me (re #928), but can find its way as far back as pulp_rpm 2.4 if needed.