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...
Updated by Tomer Brisker over 9 years ago
- Description updated (diff)
- Status changed from New to Closed
Could not reproduce. Seems this is fixed by now. Reopen if bug still exists with more precise reproduction method.
Updated by Dominic Cleal over 9 years ago
- Status changed from Closed to Resolved
Actions