Actions
Bug #2052
closedSingle quotes in host search causes SQL error
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Related to Bug #2045
when searching for hosts "class = 'nis::server'" (note the extra quotes) the host list is NOT filtered, since there is a Postgresql error that is rescued and all records are returned.
PG::Error: ERROR: syntax error at or near "nis"
LINE 1: ...s"."puppetclass_id" WHERE (puppetclasses.name = ''nis::serve...
Actions