[Bug-wget] [wget-1.19.3] side effect of excluding from decompression ?

2018-01-19 Thread Kiyoshi KANAZAWA
Hello,
With wget-1.19.3,
% wget http://www.oracle.com/technetwork/indexes/downloads/index.html
downloads index.html as gzip compressed data, such as
% ls -l index.html; file index.html
x   13380 Jan 20 14:52 index.html
index.html: gzip compressed data - deflate method

With wget-1.19.2,
x   68238 Jan 20 15:03 index.html
index.html: ascii text


Is this what you want to do, written in ChangeLog:
"* src/http.c: Exclude *.gz and *.tgz from decompression" ?
I feel it is a side effect.


Best regards,

--- Kiyoshi 



[Bug-wget] Wget1.19.3 seem to have the bug in decompress

2018-01-19 Thread G-Ey3dr
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.c2018-01-14 19:22:42.0 +0900
+++ wget-1.19.3_new/src/http.c2018-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


[Bug-wget] wget-1.19.3 released [stable]

2018-01-19 Thread Darshit Shah
We are pleased to announce the release of GNU Wget 1.19.3.

GNU Wget is a free utility for non-interactive download of files from the Web.
It supports HTTP(S), and FTP(S) protocols, as well as retrieval through HTTP
proxies.

This is a minor bugfix release, primarily to fix the behaviour of GNU Wget with
some incorrectly configured servers.

Many thanks to everyone who contributed to this release:

Arkadiusz Miśkiewicz
Ben Fuchs
Darshit Shah
Gisle Vanem
Iru Cai
Jeffrey Walton
Matthew Thode
Noël Köthe
Peter Wu
Tim Rühsen
YX Hao

=

Here are the compressed sources and a GPG detached signature[*]:
  https://ftp.gnu.org/gnu/wget/wget-1.19.3.tar.gz
  https://ftp.gnu.org/gnu/wget/wget-1.19.3.tar.gz.sig

Use a mirror for higher download bandwidth:
  https://ftpmirror.gnu.org/wget/wget-1.19.3.tar.gz
  https://ftpmirror.gnu.org/wget/wget-1.19.3.tar.gz.sig

Here are the MD5 and SHA1 checksums:

160e3164519a062d6492d5316a884d87  wget-1.19.3.tar.gz
1d82d696c3418dea77e6861315534db7ffde25f5  wget-1.19.3.tar.gz

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify wget-1.19.3.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver keys.gnupg.net --recv-keys 2A1743EDA91A35B6

and rerun the 'gpg --verify' command.

NEWS

* Changes in Wget 1.19.3

* Prevent erroneous decompression of .gz and .tgz files with broken servers

* Added support for HTTP 308 Permanent Redirect response

* Fix a segfault in some cases where the Content-Type header is not sent

* Support OpenSSL 1.1 builds without using deprecated features

* Fix netrc file detection on Windows

* Several minor bug fixes


-- 
On behalf of the maintainers of GNU Wget,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6


signature.asc
Description: PGP signature


Re: [Bug-wget] nettle-3.4.tar.gz isn't actually compressed

2018-01-19 Thread Tim Rühsen
On 01/19/2018 02:23 AM, Thomas Deutschmann wrote:
> Hi,
> 
>> sorry, I lost focus on this issue while waiting for
>> more examples.
> 
> In Gentoo we hit this several times:
> 
> https://bugs.gentoo.org/640930
> https://bugs.gentoo.org/639752
> https://bugs.gentoo.org/636238
> https://bugs.gentoo.org/641686
> 
> Like outlined in the bugs, this is caused by invalid gzip/deflate
> configurations found in upstream severs. We have already contacted some
> projects with buggy servers and some of them of them acknowledged and
> have already fixed their configuration.

Thanks for the extra information.

A work-around for those servers is in master. The 1.19.3 release is
ready to be uploaded - we are just waiting for Darshit's upload
permission to ftp-gnu.org. If not there until Monday, I'll jump in.

With Best Regards, Tim



signature.asc
Description: OpenPGP digital signature