Fixes for dwww
Roland Rosenfeld and Jon Nelson have both submitted small patches
(included below) for dwww bug reports 53355 and 17478 that fix some
serious problems (at least on my system) with rendering man pages
and honouring HTTP "HEAD" commands.
The maintainer appears to be unavailable, so it would be nice if
someone could do an NMU on the package to have it working before
Potato.
-Kevin
===================
--- dwww-convert.org Sat Dec 4 11:52:33 1999
+++ dwww-convert Sun Dec 26 16:22:08 1999
@@ -260,7 +260,7 @@
exit 1
fi
-if test "$type" != "text/html"
+if test "$type" != "text/html" -a "$type" != "man"
then
echo "Content-type: $type"
echo ""
===================
--- dwww.old Fri Feb 11 10:29:29 2000
+++ dwww Thu Feb 10 15:30:14 2000
@@ -131,6 +131,8 @@
for ($i = 0; $i < $ENV{'CONTENT_LENGTH'}; $i++) {
$in .= getc;
}
+ } elsif ($ENV{'REQUEST_METHOD'} eq "HEAD") {
+ $in = $ENV{'QUERY_STRING'};
}
#
Reply to: