Project

Profile

Help

Issue #1229

closed

Json config file values must be url encoded

Added by ares over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Nectar:
1.3.1
Platform Release:
Target Release - Nectar:
1.4.4
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

It was reported that when pulp is configured through katello-installer and user specifies a value for proxy-user or proxy-password parameter, it's propagated to
/etc/pulp/server/plugins.conf.d/yum_importer.json (and other similar files) without being url encoded. I suspect that the need of using url encoded values is actually a pulp issue, wherever the json is used, pulp should encode it according to context. An example of failing value is "passw?rd" which needs to be converted to "passw%24rd". While we could likely make katello-installer encode the value in this file, if you later change this, it would break again.

For additional information, see https://bugzilla.redhat.com/show_bug.cgi?id=1180637. Just note that it combines actually two issues (shell escaping or installer arguments is separate issue).

Actions #1

Updated by mhrivnak over 8 years ago

  • Platform Release set to 2.7.1
  • Triaged changed from No to Yes
  • Tags Easy Fix added

We should ensure that whatever code uses the username and password is doing the url encoding.

Actions #2

Updated by mhrivnak over 8 years ago

  • Priority changed from Normal to High
Actions #4

Updated by ipanova@redhat.com over 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

Added by ipanova@redhat.com over 8 years ago

Revision ad446ce2 | View on GitHub

1229-Json config file values must be url encoded.

closes #1229 https://pulp.plan.io/issues/1229

Actions #5

Updated by ipanova@redhat.com over 8 years ago

  • Project changed from Pulp to Nectar
  • Status changed from ASSIGNED to POST
  • Version - Nectar set to 1.3.1
  • Target Release - Nectar set to master
Actions #6

Updated by ipanova@redhat.com over 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by rbarlow about 8 years ago

  • Target Release - Nectar changed from master to 1.4.4
Actions #8

Updated by rbarlow about 8 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #10

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF