Your message dated Sun, 16 Dec 2007 13:47:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#456371: fixed in dwww 1.10.10
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: dwww
Version: 1.10.9
Severity: wishlist
Tags: patch


When a documentation link is clicked in the dwww package view when
requested via SSL, the URL-Relocator dwww-convert lacks support
therefore and just replies with a plain http URL. The attached patch
extends dwww-convert to query the HTTPS envvar and act accordingly.


HTH,

Daniel Reichelt


-- debconf information excluded
--- /usr/lib/cgi-bin/dwww-org   2007-04-01 20:58:22.000000000 +0200
+++ /usr/lib/cgi-bin/dwww       2007-12-15 00:32:54.000000000 +0100
@@ -76,9 +76,11 @@
 
 elsif (($type eq "") or ($location eq "")) {
        local $port = defined $ENV{'SERVER_PORT'} ? ':' . $ENV{'SERVER_PORT'} : 
'';
-
-       print "Location: http://$ENV{'SERVER_NAME'}$port/dwww/\n\n";
-
+       if ($ENV{'HTTPS'} eq "on") {
+               print "Location: https://$ENV{'SERVER_NAME'}$port/dwww/\n\n";
+       } else {
+               print "Location: http://$ENV{'SERVER_NAME'}$port/dwww/\n\n";
+       }
 } 
 
 else {
--- /usr/share/perl5/Debian/Dwww/Utils.pm-org   2006-05-07 20:30:08.000000000 
+0200
+++ /usr/share/perl5/Debian/Dwww/Utils.pm       2007-12-15 00:32:48.000000000 
+0100
@@ -286,7 +286,11 @@
        my $port = defined $ENV{'SERVER_PORT'} ? ':' . $ENV{'SERVER_PORT'} : '';
     $url = "/$url" unless $url =~ m/^\//;
 
+    if ($ENV{'HTTPS'} eq "on") {
+       print "Location: https://$name$port$url\n\n";;
+    } else {
        print "Location: http://$name$port$url\n\n";;
+    }
 } # }}}
 
 sub RenameDir() { # {{{





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

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

Versions of packages dwww depends on:
ii  apache2-mpm-itk [httpd-cgi 2.2.3-04-3+b6 multiuser MPM for Apache 2.2
ii  debconf [debconf-2.0]      1.5.17        Debian configuration management sy
ii  debianutils                2.28.2        Miscellaneous utilities specific t
ii  doc-base                   0.8.7         utilities to manage online documen
ii  file                       4.21-3        Determines file type using "magic"
ii  libc6                      2.7-3         GNU C Library: Shared libraries
ii  libfile-ncopy-perl         0.34-1        file copying like cp for perl
ii  libmime-types-perl         1.22-1        Perl extension for determining MIM
ii  man-db                     2.5.0-4       on-line manual pager
ii  menu                       2.1.36        generates programs menu for all me
ii  mime-support               3.39-1        MIME files 'mime.types' & 'mailcap
ii  perl                       5.8.8-12      Larry Wall's Practical Extraction 

Versions of packages dwww recommends:
ii  apt                           0.7.6      Advanced front-end for dpkg
pn  dlocate                       <none>     (no description available)
ii  info2www                      1.2.2.9-23 Read info files with a WWW browser



--- End Message ---
--- Begin Message ---
Source: dwww
Source-Version: 1.10.10

We believe that the bug you reported is fixed in the latest version of
dwww, which is due to be installed in the Debian FTP archive:

dwww_1.10.10.dsc
  to pool/main/d/dwww/dwww_1.10.10.dsc
dwww_1.10.10.tar.gz
  to pool/main/d/dwww/dwww_1.10.10.tar.gz
dwww_1.10.10_i386.deb
  to pool/main/d/dwww/dwww_1.10.10_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Luberda <[EMAIL PROTECTED]> (supplier of updated dwww package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 15 Dec 2007 18:12:58 +0100
Source: dwww
Binary: dwww
Architecture: source i386
Version: 1.10.10
Distribution: unstable
Urgency: low
Maintainer: Robert Luberda <[EMAIL PROTECTED]>
Changed-By: Robert Luberda <[EMAIL PROTECTED]>
Description: 
 dwww       - Read all on-line documentation with a WWW browser
Closes: 454612 454757 456371
Changes: 
 dwww (1.10.10) unstable; urgency=low
 .
   * dwww-index++:
     + apply patch with improvements from Ian Zimmerman (closes: #454757),
     + rewrite and refactor the code,
     + add support  for incremental indexing (closes: #454612). By default
       generate full index each month and incremental index each week.
   * dwww-refresh-cache: made it work when /var/cache/dwww is a symlink.
   * cron.weekly: use ionice(1) to set the lowest io sheduling class.
   * Add support for https protocol (closes: #456371).
   * Remove empty /u/s/lintian/overrides directory (lintian).
   * Standards-Verion: 3.7.2 (no changes).
   * Update documentation.
Files: 
 061651eb922c01f428799b24975c7269 495 doc optional dwww_1.10.10.dsc
 f83349255c3b5dbd5951da420d0a4fe6 116304 doc optional dwww_1.10.10.tar.gz
 2bf8dc2eac6e8623d466805eefbdece3 116000 doc optional dwww_1.10.10_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHZPfyThh1cJ0wnDsRAiLFAJ9x97TsBkDOqDqKb3L8u8+9Ssuu6QCggK8Z
yTaAAOeGCekBgjrmjOPvJkE=
=ggJ/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to