[Pkg-nagios-devel] Bug#495052: nagios3: Bug in url encode/decode in trends.cgi?

Max Kosmach max at tcen.ru
Thu Aug 14 09:38:27 UTC 2008


Package: nagios3
Version: 3.0.3-2
Severity: normal

Looks like trends.cgi and maybe other cgis from nagios3 does not correctly encode/decode ULRs.

Steps to reproduce:
1 - add service with spaces in name
    (I have "HP Pribnter status")
2 - open trends for this service
    (ok, trend opened)
    URL - ... service=HP+LJ+Printer+status
3 - try to change parameters, for example set report period to "Last 7 days"
4 - press Update
    Nagios says: "It appears as though you are not authorized to view information for the specified service..."
    URL - ...service=HP%2BLJ%2BPrinter%2Bstatus

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3 depends on:
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libgd2-xpm             2.0.36~rc1~dfsg-3 GD Graphics Library version 2
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libperl5.10            5.10.0-13         Shared Perl library
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  nagios3-common         3.0.3-2           support files for nagios3
ii  perl                   5.10.0-13         Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

nagios3 recommends no packages.

Versions of packages nagios3 suggests:
pn  nagios-nrpe-plugin            <none>     (no description available)

-- no debconf information





More information about the Pkg-nagios-devel mailing list