On Fri, 06 Jan 2012 14:34:59 Mike Frysinger wrote:

> not a bug.  look up "CVE-2010-2252" as to why this is correct default 
> behavior.  use --trust-server-names if you want to use the server name.

Ok so I need a newer wget. It still doesn't save to the correct
filename. Try:

wget --trust-server-names -S 
https://github.com/freetronics/EtherTen/tarball/master

It saves to "master", but should save to
"freetronics-EtherTen-02f9e4e.tar.gz", as supplied by the server in the
http header

  Content-Disposition: attachment; filename=freetronics-EtherTen-02f9e4e.tar.gz

Is there a way to get the job done with wget?

Thanks,

Volker

-- 
Volker Kuhlmann
http://volker.dnsalias.net/     Please do not CC list postings to me.

Reply via email to