Bug #32660
katello assumes GET params in repo url are SLES auth tokens, but may not be
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
when trying to sync a mirror repo like:
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
get params are specified. Katello interprets these as sles auth tokens: https://github.com/Katello/katello/blob/master/app/services/katello/pulp3/repository/yum.rb#L20-L25
but in this case they are not. This doesn't actually cause a problem, as usually they are ignored, except its not exactly 100% correct, and exposed another bug in pulp: https://pulp.plan.io/issues/8816
Associated revisions
History
#1
Updated by Chris Roberts over 1 year ago
- Triaged changed from No to Yes
- Target version set to Katello 4.2.0
#2
Updated by Justin Sherrill over 1 year ago
- Bugzilla link set to 1980121
#3
Updated by Justin Sherrill over 1 year ago
- Target version changed from Katello 4.2.0 to Katello 4.2.1
#4
Updated by The Foreman Bot over 1 year ago
- Assignee set to James Jeffers
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9596 added
#5
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.3.0 added
#6
Updated by James Jeffers over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|eb616046ff5b5d77a3d682ad4d8d9b2ecae68b2a.
Fixes #32660 - adds an authentication token for repository remote URLS such as SLES repos