Re: fetch extension - use local filename from content-dispositionheader (new diff)

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 09 Jan 2006 18:17:55 +0100
Martin Cracauer <cracauer_at_cons.org> writes:
> To make people a little happier, I changed the meaning of the -O
> flag.
>
> Previously giving this non-argument -O flag would use the
> Content-Disposition header after a basic safey check.
>
> Now this flag takes an expected filename as an argument.  If the
> argument is given, the server-supplied name will only be used if it
> matches the expected filename.  If it doesn't the transport is aborted
> after reading the header.

All my objections (including those related to breaking the ABI and the
-r option) still stand.

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Mon Jan 09 2006 - 16:18:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:50 UTC