Re: [Nagios-devel] [PATCH] Let the gui use resource macros

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [PATCH] Let the gui use resource macros

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Andreas Ericsson schrieb:
> Make resource ($USERx$) macros available in the GUI
> The patch is rather simple. We just let the read_main_config_file()
> function in cgi/cgiutils.c grok the "resource_file" variable and
> move the function read_resource_file() from base/config.c to
> common/macros.c so that it's linked into the cgi's as well as the
> core daemon.
> Signed-off-by: Andreas Ericsson
>

Erm... I thought the ressource_file was the last little thing to hide
some macros from the CGIs as a security benefit.

http://nagios.sourceforge.net/docs/3_0/ ... ource_file

I don't like that patch ;|

Regards,
Hendrik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknSHY0ACgkQlI0PwfxLQjn4/ACgg2R3HQexGfV6+6qF8neHXb58
3igAn1r1EeIWV7y60lrmGAsI9Pt5PD9X
=PKYB
-----END PGP SIGNATURE-----





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked