Project

General

Profile

Actions

Bug #9565

open

v2 API returning unscaped Quotes on EC2 Nodes

Added by Jason Vervlied about 9 years ago. Updated about 9 years ago.

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

Description

When querying fact data from an EC2 node (facter version 2.2.0, puppet version 3.7.1) the fields ec2_metrics_vhostmd, ec2_metadata are returning unescaped quotes in an XML string that is breaking the ability to parson the JSON data.

Here is the bad data that I am getting out http://pastebin.com/6d57MYtV

Here is the query curl -k -u $USER:$PASS -H "Accept: version=2,application/json" https://forman.server.host/api/hosts/${ID}/facts

Actions #1

Updated by Dominic Cleal about 9 years ago

  • Category set to API
Actions

Also available in: Atom PDF