Package: dwww
Version: 1.13.2
Severity: normal

Dear Maintainer,

I tried to access a man page via dww, e.g.
http://localhost/cgi-bin/dwww/usr/share/man/man1/reportbug.1.gz?type=man

This yields 500 Internal Server Error  :-(

Apaches error log tells me:
[..] AH02429: Response header name 'Last modified' contains invalid characters, 
aborting request [..]

When I grep the contents of the dwww package for "Last modified", I
find a match in /usr/sbin/dwww-convert


To fix the bug, I patched dwww-convert:
330c330
<     print "Last modified: " . gmtime($mtime) . "\n";
---
>     print "Last-modified: " . gmtime($mtime) . "\n";

This fixed the bug. :-)


I suggest to include this patch in the next release of dwww.

Thank you & Best regards,
Holger Spielmann



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (100, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=UTF-8) (ignored: LC_ALL set to 
de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dwww depends on:
ii  apache2 [httpd-cgi]    2.4.25-1
ii  debconf [debconf-2.0]  1.5.59
ii  debianutils            4.8.1
ii  doc-base               0.10.7
ii  file                   1:5.29-2
ii  libc6                  2.24-8
ii  libfile-ncopy-perl     0.36-1
ii  libmime-types-perl     2.13-1
ii  man-db                 2.7.6.1-2
ii  mime-support           3.60
ii  perl                   5.24.1~rc4-1
ii  ucf                    3.0036

Versions of packages dwww recommends:
ii  apache2 [httpd]  2.4.25-1
ii  apt              1.4~beta2
ii  dlocate          1.07
ii  info2www         1.2.2.9-24
ii  swish++          6.1.5-4

Versions of packages dwww suggests:
ii  doc-debian                 6.4
ii  dpkg-www                   2.56
ii  firefox-esr [www-browser]  45.6.0esr-1
ii  lynx [www-browser]         2.8.9dev11-1

-- debconf information:
* dwww/serverport: 80
  dwww/index_docs: false
* dwww/cgidir: /usr/lib/cgi-bin
  dwww/nosuchdir:
  dwww/nosuchuser:
* dwww/servername: saxonia.spielmann.boerde.de
* dwww/docrootdir: /var/www
  dwww/badport:
* dwww/cgiuser: www-data

Reply via email to