Project

Profile

Help

Issue #7003

closed

pulpcore-content allows for // in some parts of the URL but not others

Added by dkliban@redhat.com almost 4 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1908":https://github.com/pulp/pulpcore/issues/1908


A request for /pulp/content/centos8/AppStream//repodata/repomd.xml returns 404. A request for /pulp/content/centos8/AppStream/repodata/repomd.xml returns 200.

A request for /pulp/content/centos8//repodata/repomd.xml returns 200. A request for /pulp/content/centos8/repodata/repomd.xml returns 200.

It seems like pulpcore-content ignores extra / if it appears after the base_path of a distribution, but not anywhere else in the URL.

I expect the behavior to be consistent no matter where the extra / appears.

Also available in: Atom PDF