Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira ( If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1625611 - Fact names and values are not displayed properly
Summary: Fact names and values are not displayed properly
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Fact
Version: 6.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: Unspecified
Assignee: Vladimír Sedmík
QA Contact: Vladimír Sedmík
Depends On:
TreeView+ depends on / blocked
Reported: 2018-09-05 11:05 UTC by Ales Dujicek
Modified: 2020-02-03 17:37 UTC (History)
4 users (show)

Fixed In Version: foreman-1.22.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-02-03 17:37:06 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24834 0 Normal Closed Fact names and values are not displayed properly 2020-02-03 16:40:05 UTC

Description Ales Dujicek 2018-09-05 11:05:11 UTC
Description of problem:

If you upload Host Facts that contain characters like <>"& 

# curl -u admin:changeme -k https://localhost/api/v2/hosts/facts -d '{"name": "facthost", "facts": {"name; <>\"&": "value; <>\"&", "operatingsystem": "RedHat", "operatingsystemrelease": "6.12"}}' -H 'Content-Type: application/json'

They are not displayed properly in UI

1. Monitor > Facts (/fact_values)

fact name is double escaped in the table

facthost 	name &lt;&gt;&quot;&amp;  value <>"&

2. Monitor > Facts (/fact_values)

links in Name and Value columns points to not valid searches

3. Monitor > Facts > View Chart

fact names and values are double escaped in the charts

4. Monitor > Trends
values are escaped twice in graphs in Trends

Version-Release number of selected component (if applicable):
Satellite 6.4 snap 20

Additional info:
bz 1509442 cooment 5

Comment 1 Marek Hulan 2018-09-06 11:31:49 UTC
Created redmine issue from this bug

Comment 4 Bryan Kearney 2019-01-27 11:03:03 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue has been resolved.

Note You need to log in before you can comment on or make changes to this bug.