Package: wget
Version: 1.13.4-3
Severity: normal
Tags: upstream

Hi,

wget does not parse Last-Modified timestamps in the UTC timezone,
resulting in error output
  Last-modified header invalid -- time-stamp ignored.
and assigning all downloaded files the current timestamp - which is a
loss of metadata.
The problem occurs in versions 1.13.4-3, 1.14-5, 1.14.96.38327-2.

These timestamps with a UTC instead of GMT timezone seem to be generated
by a (transparent) proxy that identifies itself with this header:
  Via: 1.1 xxxxx.xxxxx.xx:80 (Cisco-IronPort-WSA/7.7.0-608)

The patch is trivial, in src/http.c in check_end() the following clause
needs to be added:

  || (p[0] == 'U' && p[1] == 'T' && p[2] == 'C')

(tested against the version in experimental)


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to