Debian Bug report logs - #186420
w3m: No warning if server returns error when downloading a file

version graph

Package: w3m; Maintainer for w3m is Tatsuya Kinoshita <tats@debian.org>; Source for w3m is src:w3m (PTS, buildd, popcon).

Reported by: Brian May <brian@microcomaustralia.com.au>

Date: Thu, 27 Mar 2003 00:03:06 UTC

Severity: normal

Tags: woody

Found in version 0.3-2.4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>, w3m@packages.qa.debian.org:
Bug#186420; Package w3m. (full text, mbox, link).


Acknowledgement sent to Brian May <bam@debian.org>:
New Bug report received and forwarded. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>, w3m@packages.qa.debian.org. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Brian May <bam@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: w3m: No warning if server returns error when downloading a file
Date: Thu, 27 Mar 2003 10:54:11 +1100
Package: w3m
Version: 0.3-2.4
Severity: normal

If I go to "w3m http://vman.de/chipcard/sid/", select the
"libchipcard_0.8.1.orig.tar.gz" file, and download it, w3m reports no
errors. However, the file doesn't contain the data I expect, instead it
contains:

>cat libchipcard_0.8.1.orig.tar.gz
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>403 Forbidden</TITLE>
</HEAD><BODY>
<H1>Forbidden</H1>
You don't have permission to access /chipcard/sid/libchipcard_0.8.1.orig.tar.gz
on this server.<P>
</BODY></HTML>

wget has no problems deciphering the error return code:

>wget http://vman.de/chipcard/sid/libchipcard_0.8.1.orig.tar.gz
--10:47:21--  http://vman.de/chipcard/sid/libchipcard_0.8.1.orig.tar.gz
        => `libchipcard_0.8.1.orig.tar.gz.1'
Resolving proxy... done.
Connecting to proxy[192.168.87.1]:3128... connected.
Proxy request sent, awaiting response... 403 Forbidden
10:47:21 ERROR 403: Forbidden.

w3m should realize that the server has returned an error and pass the
error message on to the user without blindly trying to save it to the
disk file.

If this has already been fixed in unstable, then don't worry about it.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux scrooge 2.4.19 #1 Fri Nov 8 18:44:00 EST 2002 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages w3m depends on:
ii  libc6                  2.2.5-11.2        GNU C Library: Shared libraries an
ii  libgc6                 1:6.0+6.1alpha4-3 Conservative garbage collector for
ii  libgpmg1               1.19.6-12         General Purpose Mouse Library [lib
ii  libncurses5            5.2.20020112a-7   Shared libraries for terminal hand
ii  zlib1g                 1:1.1.4-1         compression library - runtime




Tags added: woody Request was from Fumitoshi UKAI <ukai@debian.or.jp> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter from Brian May <bam@debian.org> to Brian May <bam@snoopy.debian.net>. Request was from Brian May <bam@snoopy.debian.net> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter to 'Brian May <brian@microcomaustralia.com.au>' from 'Brian May <bam@snoopy.debian.net>' Request was from Brian May <brian@microcomaustralia.com.au> to control@bugs.debian.org. (Wed, 20 Apr 2011 03:06:09 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 03:08:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.