Bug#284897: [Pkg-nagios-devel] Bug#284897: nagios-pgsql: nagios eats single quotes in problem acknowledgement email messages

sean finney sean finney <seanius@debian.org>, 284897@bugs.debian.org
Thu, 16 Dec 2004 11:58:23 -0500


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 284897 wishlist
tags 284897 upstream
thanks

hi jerome,

i'll forward this request to the upstream nagios development list for comme=
nt.

	sean

On Thu, Dec 16, 2004 at 10:27:30AM +0100, alet@unice.fr wrote:
> Hi,
>=20
> On Thu, Dec 16, 2004 at 01:54:53AM -0500, sean finney wrote:
> >=20
> > also, in the nagios source, it strips out any ascii characters greater
> > than decimal 166:
> >=20
> >                         /* illegal ASCII characters */
> >                         if(ch<32 || ch=3D=3D127)
> >                                 continue;
>=20
> ok
>=20
> >                         /* illegal extended ASCII characters */
> >                         if(ch>=3D166)
> >                                 continue;
>=20
> this one sucks big time for non-english people !
>=20
> what about using unicode strings ?
<snip>
> the problem is that the string is NOT the result of a command,
> but a comment typed in by the particular nagios admin for the=20
> service problem being acknowledged.
>=20
> while I understand the security problem which may occur, I think
> that access to nagios should be reserved to trusted people anyway,
> so allowing them to type "unsafe" characters in their own
> native language would be a great bonus...


	sean
--=20

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFBwb6vynjLPm522B0RAoOtAJ9uLWMa+2uCrHwFHw/Ko9KyXF46wQCeLCsH
Etw0yYIR8gx6McRK/+5Gai4=
=2B/v
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--