[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#305850: marked as done (w3mir: path to save files locally is incorrect)



Your message dated Sun, 24 Apr 2005 11:32:31 -0400
with message-id <E1DPj5z-0000SM-00@newraff.debian.org>
and subject line Bug#305850: fixed in w3mir 1:1.0.10-4
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Apr 2005 13:41:58 +0000
>From debian-bugs@da.fydd.org Fri Apr 22 06:41:58 2005
Return-path: <debian-bugs@da.fydd.org>
Received: from mail.imaginet.co.uk [194.168.150.4] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DOyPt-0002zW-00; Fri, 22 Apr 2005 06:41:58 -0700
Received: from asimov.imaginet.co.uk
	([194.168.150.39] helo=asimov ident=Debian-exim)
	by mail.imaginet.co.uk with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34)
	id 1DOyPq-0007pf-31
	for submit@bugs.debian.org; Fri, 22 Apr 2005 14:41:54 +0100
Received: from dafydd by asimov with local (Exim 4.50)
	id 1DOyPp-0002Mf-8f
	for submit@bugs.debian.org; Fri, 22 Apr 2005 14:41:53 +0100
Content-Type: multipart/mixed; boundary="===============1022769470=="
MIME-Version: 1.0
From: Dafydd Tomos <debian-bugs@da.fydd.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: w3mir: path to save files locally is incorrect
X-Mailer: reportbug 3.8
Date: Fri, 22 Apr 2005 14:41:53 +0100
Message-Id: <[🔎] E1DOyPp-0002Mf-8f@asimov>
X-Imaginet-MailScanner-Information: Please contact the ISP for more information
X-Imaginet-MailScanner: Found to be clean
X-Imaginet-MailScanner-SpamCheck: 
X-MailScanner-From: debian-bugs@da.fydd.org
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1022769470==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: w3mir
Version: 1:1.0.10-3
Severity: grave
Tags: patch
Justification: renders package unusable


This package has broken recently probably by an update
to URI::URL, or whichever Perl module provides unix_path()

When a URL is being requested and mirrored to disk,
the unix_path is function is called with the full URL
but this has recently changed which means the initial
'/' is returned

This means that the local filename to be used for saving
the file is for example /index.html or /graphics/image.png
which of course it can't save. The filename should be suitable
for saving into the current directory.

If this is not a bug in the newer version of URI::URL, then
a simple fix is to add the following line at line number 588

  $lf_name =~ s/^\///;


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB)

Versions of packages w3mir depends on:
ii  libwww-perl                   5.803-4    WWW client/server library for Perl
ii  perl [libmime-base64-perl]    5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information

--===============1022769470==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="w3mir-fix"

--- /usr/bin/w3mir	2003-08-20 09:40:35.000000000 +0100
+++ w3mir	2005-04-22 14:22:00.000000000 +0100
@@ -585,6 +585,7 @@
   
   # Derive a filename from the url, the filename contains no URL-quoting
   my($lf_name) = (url "file:$lf_url")->unix_path;
+  $lf_name =~ s/^\///;
 
   # Make all intermediate directories
   &mkdir($lf_name) if $s==0;

--===============1022769470==--

---------------------------------------
Received: (at 305850-close) by bugs.debian.org; 24 Apr 2005 15:49:57 +0000
>From katie@ftp-master.debian.org Sun Apr 24 08:49:56 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DPjMq-00014y-00; Sun, 24 Apr 2005 08:49:56 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DPj5z-0000SM-00; Sun, 24 Apr 2005 11:32:31 -0400
From: Frank Lichtenheld <djpig@debian.org>
To: 305850-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#305850: fixed in w3mir 1:1.0.10-4
Message-Id: <E1DPj5z-0000SM-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 24 Apr 2005 11:32:31 -0400
Delivered-To: 305850-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: w3mir
Source-Version: 1:1.0.10-4

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

w3mir_1.0.10-4.diff.gz
  to pool/main/w/w3mir/w3mir_1.0.10-4.diff.gz
w3mir_1.0.10-4.dsc
  to pool/main/w/w3mir/w3mir_1.0.10-4.dsc
w3mir_1.0.10-4_all.deb
  to pool/main/w/w3mir/w3mir_1.0.10-4_all.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 305850@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (supplier of updated w3mir 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 ftpmaster@debian.org)


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

Format: 1.7
Date: Sun, 24 Apr 2005 16:57:43 +0200
Source: w3mir
Binary: w3mir
Architecture: source all
Version: 1:1.0.10-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 w3mir      - all purpose HTTP copying and mirroring tool
Closes: 215087 305850
Changes: 
 w3mir (1:1.0.10-4) unstable; urgency=medium
 .
   * QA upload
   * Fix usage of URI::URL to get the local file name (Closes: #305850)
     Noticed by Dafydd Tomos
   * Fix short description to make it policy compliant (Closes: #215087)
     Noticed by Clément Stenac
   * Fix clean target in debian/rules, it forgot some stuff
   * Fix path to Artistic license in debian/copyright
   * List copyright holders in debian/copyright
Files: 
 da779a03d99e45b5a1e7abc9706133cc 579 web optional w3mir_1.0.10-4.dsc
 2759442897bdeb90024c0b59b1a76208 9148 web optional w3mir_1.0.10-4.diff.gz
 2899700db3a5cda0365ff350007f3d22 99880 web optional w3mir_1.0.10-4_all.deb

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

iD8DBQFCa7ejQbn06FtxPfARAl8rAKCMiIj8U1APfOAQ6iUmA/y+ys0MWwCgo6LS
3yZ5Z4WXMk2zT0bijaBXgxA=
=gqrY
-----END PGP SIGNATURE-----



Reply to: