Actions
Bug #23632
openPOST to /hosts/puppetclass_parameters escapes array and hash entries
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
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]">"[\"test\"]"</textarea>
Actions