Actions
Issue #1666
closedrepo protection causes http requests to return an ISE 500
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.0
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
In katello we turn repo production on in /etc/pulp/repo_auth.conf
When we do this, all requests to http://hostname/pulp/repos/path/to/unprotected/repo return a 500
Actions
Only perform repo auth on HTTPS requests.
This commit ensures the content.wsgi application only performs repo auth when the request arrived via HTTPS. Client certificates won't arrive over HTTP and this was causing access denied errors on unprotected repositories.
closes #1666