NagiosEnterprises / nrpe

NRPE Agent
GNU General Public License v2.0
257 stars 133 forks source link

invalid nasty_metachars example #240

Closed peekjef72 closed 2 years ago

peekjef72 commented 4 years ago

by default, the configuration file reader checks for varname=varvalue; so adding doublequotes at the begin of the text causes this character to be considered as a nasty char, and that is not the default behavior (the internal default string).

sawolf commented 2 years ago

Yep, looks like this was copied from the #define NASTY_METACHARS line in nrpe.c. Good catch.