Project

Profile

Help

Issue #1666

repo protection causes http requests to return an ISE 500

Added by jsherril@redhat.com over 5 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
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

Associated revisions

Revision 91ac7c93 View on GitHub
Added by Jeremy Cline over 5 years ago

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

Revision 91ac7c93 View on GitHub
Added by Jeremy Cline over 5 years ago

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

History

#1 Updated by jcline@redhat.com over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jcline@redhat.com
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#2 Updated by jcline@redhat.com over 5 years ago

  • Status changed from ASSIGNED to POST

#3 Updated by Anonymous over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#4 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5

#5 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#6 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF