Custom Object Variables: Contrary to docs, /* custom variable values get cleaned */

"Peter Valdemar Mørch (Lists)" 4ux6as402 at sneakemail.com
Sat Aug 28 17:30:53 CEST 2010


On 2010-08-28 15:59, Ethan Galstad egalstad-at-nagios.org |Lists/Send to 
lists| wrote:
> Thanks for pointing this discrepancy out. Custom macros should be
> cleaned IMO, so I opted to update the docs instead. :-)

Could this please be a configuration option then? Sometimes there are 
things that need to contain these characters.

- Windows services and shares sometimes actually have a $ in them
- Passwords can have special chars in them (that is even encouraged)
- The empty string is not representable because ' and " are illegal.

The reason I hunted the discrepancy down is that we have a need for the 
special chars, e.g. for the things above.

Or, instead of simply removing them, would it be possible to 
backslash-escape them? That way they won't be dangerous any longer.

Hoping for a config option or other good solution,

Peter
-- 
Peter Valdemar Mørch
http://www.morch.com

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list