Re: [Nagios-devel] clean_macro_chars() no longer called in utils.c in
Posted: Thu Feb 10, 2005 4:27 pm
--EXKGNeO8l0xGFBjy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Feb 11, 2005 at 12:29:06AM +0100, Sascha Runschke wrote:
> I'm still wondering if cleaning of unwanted chars is really the thing
> to do. In my opinion it would be "more correct" to escape those
> characters properly instead of just erasing them.
The output may pass through an unknown number of scripts, and
not all of those scripts can easily re-escape the values (such
as sh). Removing them out seems safest.
-Jason Martin
--=20
"Is" is the verb for when you don't want a verb.
This message is PGP/MIME signed.
--EXKGNeO8l0xGFBjy
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: --no-verbose
iD8DBQFCC/vwl2ODWuqVSBMRAiA0AJ998eRG9qHgd8An2AEAq/nOVo78FwCgmYPu
oHiOlPJTAhorMqAzpm/UUEs=
=zSvw
-----END PGP SIGNATURE-----
--EXKGNeO8l0xGFBjy--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Feb 11, 2005 at 12:29:06AM +0100, Sascha Runschke wrote:
> I'm still wondering if cleaning of unwanted chars is really the thing
> to do. In my opinion it would be "more correct" to escape those
> characters properly instead of just erasing them.
The output may pass through an unknown number of scripts, and
not all of those scripts can easily re-escape the values (such
as sh). Removing them out seems safest.
-Jason Martin
--=20
"Is" is the verb for when you don't want a verb.
This message is PGP/MIME signed.
--EXKGNeO8l0xGFBjy
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: --no-verbose
iD8DBQFCC/vwl2ODWuqVSBMRAiA0AJ998eRG9qHgd8An2AEAq/nOVo78FwCgmYPu
oHiOlPJTAhorMqAzpm/UUEs=
=zSvw
-----END PGP SIGNATURE-----
--EXKGNeO8l0xGFBjy--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]