Package: cvsweb
Version: 3.0.6-3
Tags: patch
GET / or HEAD / result in the following warning on STDERR:
[Mon Jun 02 19:34:56 2008] [error] [client 194.72.238.61] Use of uninitialized
value in concatenation (.) or string at /usr/lib/cgi-bin/cvsweb line 3980.,
referer: http://www.netcraft.com/survey/
The attached patch fixes this problem.
Regards,
Joey
--
Open source is important from a technical angle. -- Linus Torvalds
Please always Cc to me when replying to me on the lists.
--- /tmp/cvsweb/cvsweb 2008-06-02 20:10:01.000000000 +0200
+++ /usr/lib/cgi-bin/cvsweb 2008-06-02 20:25:32.000000000 +0200
@@ -295,6 +295,7 @@ if ($ENV{SCRIPT_NAME}) {
}
$scriptname = '' unless defined($scriptname);
+$scriptwhere = '' unless defined($scriptwhere);
$where = $pathinfo;
$doCheckout = $where =~ s|^/$CheckoutMagic/|/|o;