Issue #2526
closedrepos with relative URLs published with repoview enabled serve broken links in the browser
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.
Updated by bizhang about 6 years ago
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Updated by bmbouter almost 4 years ago
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.