Project

Profile

Help

Issue #2526

closed

repos with relative URLs published with repoview enabled serve broken links in the browser

Added by dkliban@redhat.com over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.11.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Forward port 443 on your vagrant environment to port 4430 on your host by connecting to the vagrant box with the following command:

vagrant ssh -- -L 4430:localhost:443

Then create and publish a repo with a relative URL.

pulp-admin -u admin -p admin rpm repo create --repo-id zoo --relative-url zoo --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/
pulp-admin -u admin -p admin rpm repo sync run --repo-id zoo

When you navigate to `https://localhost:4430/pulp/repos/zoo\` using a web browser, all the files appear to be there, but the URLs in the links have the relative URL missing. As a result all the links are broken.

Also available in: Atom PDF