Syntax Error Host Description
Posted: Fri Jan 11, 2013 5:49 pm
So I am in CCM, Hosts -> Add New.
If I put an apostrophe in the Description field: i.e. Chris's Foobar Server it throws an error:
Anybody else experience this ? Do we know if Nagios has a fix for this ? It appears the form data isn't sanitized.
Nagios XI 2012R1.3 RHEL 5
If I put an apostrophe in the Description field: i.e. Chris's Foobar Server it throws an error:
If I remove the apostrophe it works fine.Error while inserting data into the database:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Foobar Server', `address`='192.168.0.1', `parents`=0, `parent' at line 1
Anybody else experience this ? Do we know if Nagios has a fix for this ? It appears the form data isn't sanitized.
Nagios XI 2012R1.3 RHEL 5