Project

General

Profile

Actions

Bug #24946

open

pulp_rewrite roles prevent access to repository 'repos' in product 'pulp'

Added by Matthias Dellweg over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In /etc/httpd/conf.d/pulp_rpm.conf the .+ in the rule:
RewriteRule (.+/pulp/repos/)(.*) /pulp/content/var/www/pub/yum/http/repos/$2 [DPI]
is greedy. Thus eating everything until the last /pulp/repos/.
If you create a yum product named pulp with a repository named repos, you cann never reach the content of that repository.
Using
RewriteRule /pulp/repos/(.*) /pulp/content/var/www/pub/yum/http/repos/$1 [DPI]
fixes the problem (the implicit .* does not seem to be greedy).

The same applies to pulp_deb.

Actions #1

Updated by Andrew Kofink over 5 years ago

  • Target version set to Katello 3.9.0
  • Triaged changed from No to Yes
Actions #2

Updated by Jonathon Turel over 5 years ago

  • Target version changed from Katello 3.9.0 to Katello Backlog
Actions

Also available in: Atom PDF