Bug#284897: [Pkg-nagios-devel] Bug#284897: support for non ascii characters in notifications
sean finney <email@example.com>, firstname.lastname@example.org
Thu, 16 Dec 2004 12:11:37 -0500
Content-Type: text/plain; charset=iso-8859-1
i'm one of the debian developers responsible for maintaining the current
nagios packages. we recently had a bug report from a non-english
speaking user who had characters disappearing from his notifications and
while some of these were directly from a config option on his server
(illegal_macro_chars), he also experienced high ascii characters being
removed as well (including characters such as =E9, =E0, etc). i took a
look through the source code and found the location where this was
being done, which is attached in the excerpt below.
my question is, would it be possible to not strip these high-ascii
characters (either by default or via a config option) or otherwise
provide support for non-ascii charsets?
for the full bug report, please see:
any feedback welcome.
also, i see that nagios 2.0 is now out in beta! keep up the good work!
ps - please keep the cc: in all replies, they will that way be attached
to the bug report for posterity
----- Forwarded message from sean finney <email@example.com> -----
Date: Thu, 16 Dec 2004 11:58:23 -0500
=46rom: sean finney <firstname.lastname@example.org>
Subject: Re: Bug#284897: [Pkg-nagios-devel] Bug#284897: nagios-pgsql: nagio=
s eats single quotes in problem acknowledgement email messages
severity 284897 wishlist
tags 284897 upstream
i'll forward this request to the upstream nagios development list for comme=
On Thu, Dec 16, 2004 at 10:27:30AM +0100, email@example.com wrote:
> On Thu, Dec 16, 2004 at 01:54:53AM -0500, sean finney wrote:
> > also, in the nagios source, it strips out any ascii characters greater
> > than decimal 166:
> > /* illegal ASCII characters */
> > if(ch<32 || ch=3D=3D127)
> > continue;
> > /* illegal extended ASCII characters */
> > if(ch>=3D166)
> > continue;
> this one sucks big time for non-english people !
> what about using unicode strings ?
> 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.
> 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...
----- End forwarded message -----
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----