Project

General

Profile

Actions

Bug #23632

open

POST to /hosts/puppetclass_parameters escapes array and hash entries

Added by Bastian Blank almost 7 years ago. Updated almost 7 years ago.

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

Description

A smart class parameter specified as array or hash is escaped while requesting the parameter page again via POST to /hosts/puppetclass_parameters.

The form data of the request contains:

host[lookup_values_attributes][372][value]: ["test"]

The HTML reply then contains another layer of escaping:

<textarea name="host[lookup_values_attributes][372][value]">&quot;[\&quot;test\&quot;]&quot;</textarea>

Actions

Also available in: Atom PDF