forwarded 730662 https://savannah.gnu.org/bugs/index.php?40746
tags 730662 + patch
thanks

Hello Andreas,

Am Donnerstag, den 28.11.2013, 00:03 +0100 schrieb Andreas Beckmann:

> 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)

Thanks for your report and patch. I forwarded it upstream and hopefully
it will be included in the next upstream release.

Regards

        Noël

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to