[PATCH] Let the gui use resource macros
Hendrik Baecker
andurin at process-zero.de
Tue Mar 31 15:41:34 CEST 2009
-----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 <ae at op5.se>
>
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/configmain.html#resource_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-----
------------------------------------------------------------------------------
More information about the Developers
mailing list