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

Jerome Alet Jerome Alet <Jerome.Alet@unice.fr>, 284897@bugs.debian.org
Thu, 09 Dec 2004 12:41:56 +0100


Package: nagios-pgsql
Version: 2:1.3-0+pre4
Severity: normal


Hi,

when acknowledging a problem on a service, the comment is correctly
added to the bottom of the page, and contains all single quotes used
when typing it (I typed a french message with three single quotes in
it)

however, the email message which was sent doesn't contain any of these
single quotes.

probably a database data decoding problem in this code, or a safety
check done incorrectly

hth

bye

Jerome Alet

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to fr_FR@euro)

Versions of packages nagios-pgsql depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libgd2-noxpm                2.0.33-1     GD Graphics Library version 2 (wit
ii  libjpeg62                   6b-9         The Independent JPEG Group's JPEG 
ii  libpng12-0                  1.2.8beta5-2 PNG library - runtime
ii  libpq3                      7.4.6-4      PostgreSQL C client library
ii  nagios-common               2:1.3-0+pre4 A host/service/network monitoring 
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information