Project

General

Profile

Actions

Bug #20168

closed

Katello Gpg Key Content-Type

Added by Mike Cavalieri over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

When you open a gpg key using a browser such as Firefox using https://hostname/katello/api/v2/repositories/ID/gpg_key_content the browser interprets the response as json.

Version-Release number of selected component (if applicable):
Katello 3.3.2

How reproducible:
Always

Steps to Reproduce:
Browse to the gpg key of a repository https://hostname/katello/api/v2/repositories/1234/gpg_key_content

Actual results:
Text with a content type of application/json.

Expected results:
Text with a content type of text/html.

Additional info:
You are able to view the gpg key using curl correctly.

Actions #1

Updated by Justin Sherrill over 6 years ago

  • Assignee set to Samir Jha
  • Target version set to 202
  • translation missing: en.field_release set to 267
Actions #2

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6856 added
Actions #3

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 267 to 281
Actions

Also available in: Atom PDF