Project

Profile

Help

Issue #1348

closed

yum importer adds trailing slash, even when URL has a query string

Added by semyers about 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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:

  1. SLES 12 repositories authorize CDN distribution via a GET param.
  2. 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

Related to RPM Support - Task #928: Test with SLESCLOSED - NOTABUGsemyers

Actions

Also available in: Atom PDF