illegal_macro_output_chars and $SERVICEOUTPUT$
Matthias Kerk
matthias at tuxlife.de
Tue Jan 29 19:34:41 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --- ../orig/nagios-3.0rc2/common/macros.c 2008-01-15 21:35:52.000000000 +0100
+++ common/macros.c 2008-01-29 19:27:18.000000000 +0100
@@ -194,8 +194,8 @@
if(selected_macro!=NULL){
/* include any cleaning options passed back to us */
- - options&=clean_options;
- -
+ //options&=clean_options;
+ options=(STRIP_ILLEGAL_MACRO_CHARS|ESCAPE_MACRO_CHARS);
/* URL encode the macro if requested - this allocates new memory */
if(options & URL_ENCODE_MACRO_CHARS){
original_macro=selected_macro;
this is not nice, but fix me problem.
have anyone a better/clean resolution?
Thanks,
Matthias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHn3HBTG9/zWWjsBsRAprzAJ9X6zWtI0xS5D6j9nnKpMyads/TtwCaA8zA
sbhIiuUO/FrfWK7Exny/GNM=
=yBz0
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
More information about the Developers
mailing list