URL: <http://savannah.gnu.org/bugs/?40746>
Summary: wget: fails to parse time from 'Last-Modified: Wed, 27 Nov 2013 07:06:38 UTC' Project: GNU Wget Submitted by: nok Submitted on: Fr 29 Nov 2013 09:59:00 CET Category: Protocol Issue Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: trunk Operating System: GNU/Linux Reproducibility: Every Time Fixed Release: None Planned Release: None Regression: None Work Required: None Patch Included: Yes _______________________________________________________ Details: Hello, a forwarded Debian bug report from http://bugs.debian.org/730662 --8<-- 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 --8<-- Thanks for your work. Regards Noël _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?40746> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org