[Webapps-common-packages] Bug#437334: bugzilla: Wrong default configuration of 'urlbase' parameter

Alexander Galanin gaa.nnov at mail.ru
Sat Aug 11 20:57:41 UTC 2007


Package: bugzilla
Version: 2.22.1-2
Severity: normal
Tags: patch

Wrong default configuration of 'urlbase' parameter.

Default value of 'urlbase' parameter in /etc/bugzilla/params is
'./cgi-bin/bugzilla/'.
This caused invalid form post address in main
page (http://HOSTNAME/cgi-bin/bugzilla/index.cgi):
	http://HOSTNAME/cgi-bin/bugzilla/cgi-bin/bugzilla/index.cgi
instead of right
	http://HOSTNAME/cgi-bin/bugzilla/index.cgi
..

I think that following patch can solve this problem:

root:/etc/bugzilla# diff params params.urlbase_fixed
112c112
<            'urlbase' => './cgi-bin/bugzilla/',
---
>            'urlbase' => '/cgi-bin/bugzilla/',

WBR,
	Alexander Galanin

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (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 bugzilla depends on:
ii  apache2                    2.2.3-4       Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.3-4       Traditional model for Apache HTTPD
ii  dbconfig-common            1.8.35        common framework for packaging dat
ii  debconf [debconf-2.0]      1.5.13        Debian configuration management sy
ii  libappconfig-perl          1.56-2        Perl module for configuration file
ii  libdbd-mysql-perl          4.004-2       A Perl5 database interface to the 
ii  libmailtools-perl          1.74-1        Manipulate email in perl programs
ii  libmime-perl               5.420-1       Perl5 modules for MIME-compliant m
ii  libtemplate-perl           2.19-1        template processing system written
ii  libtimedate-perl           1.1600-8      Time and date functions for Perl
ii  mysql-client-5.0 [mysql-cl 5.0.41a-1     MySQL database client binaries
ii  patch                      2.5.9-4       Apply a diff file to an original
ii  smail [mail-transport-agen 3.2.0.115-7.1 Electronic mail transport system
ii  ucf                        3.001         Update Configuration File: preserv

Versions of packages bugzilla recommends:
pn  libchart-perl                 <none>     (no description available)
pn  libxml-parser-perl            <none>     (no description available)
ii  mysql-server-5.0 [mysql-serve 5.0.41a-1  MySQL database server binaries
pn  perlmagick                    <none>     (no description available)

-- debconf information excluded




More information about the Webapps-common-packages mailing list