Bug #5931
closedCDN path verification should handle redirects
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1099221
Description of problem:
Currently the cdn_var_substitutor#valid_substitutions? treats 301 redirects as an error. In some cases it will try to fetch $REPO_URL/repodata which causes a redirect to $REPO_URL/repodata/. One solution is to have it request $REPO_URL/repodata/repomd.xml, but i would argue it should just follow redirects as well.
Version-Release number of selected component (if applicable):
katello-1.5.0-22.el6sat.noarch
katello-ca-1.0-1.noarch
katello-certs-tools-1.5.5-1.el6sat.noarch
katello-installer-0.0.37-1.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
ruby193-rubygem-katello-1.5.0-40.el6sat.noarch
rubygem-hammer_cli_katello-0.0.3-22.el6sat.noarch
How reproducible:
100%
Steps to Reproduce:
(1. Change the CDN URL to a local mirror)
2. Visit the Red Hat Repositories page
3. Try to select/enable a repository
Actual results:
Back-end errors
Expected results:
Repo should become enabled
Additional info:
http://projects.theforeman.org/issues/5574
Updated by Eric Helms over 10 years ago
- Status changed from New to Closed
- Triaged set to Yes
Bugzilla was verified.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13