Hello all,
Wget1.19.3 seem to have the bug in decompress. See below.
diff -aur wget-1.19.3_old/src/http.c wget-1.19.3_new/src/http.c
--- wget-1.19.3_old/src/http.c 2018-01-14 19:22:42.000000000 +0900
+++ wget-1.19.3_new/src/http.c 2018-01-20 11:46:15.897109600 +0900
@@ -3744,7 +3744,7 @@
/* don't uncompress if a file ends with '.gz' or '.tgz' */
if (hs->remote_encoding == ENC_GZIP
&& (p = strrchr(u->file, '.'))
- && (c_strcasecmp(p, ".gz") || c_strcasecmp(p, ".tgz")))
+ && (!c_strcasecmp(p, ".gz") || !c_strcasecmp(p, ".tgz")))
{
hs->remote_encoding = ENC_NONE;
}
Best regards,
Reiji