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

Dag-Erling Smørgrav des at des.no
Mon Jan 9 09:18:01 PST 2006

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.

Dag-Erling Smørgrav - des at des.no

More information about the freebsd-current mailing list