Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2006 18:17:55 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-current@freebsd.org, Colin Percival <cperciva@freebsd.org>
Subject:   Re: fetch extension - use local filename from content-dispositionheader (new diff)
Message-ID:  <86ace5mibg.fsf@xps.des.no>
In-Reply-To: <20060109113634.A17206@cons.org> (Martin Cracauer's message of "Mon, 9 Jan 2006 11:36:37 -0500")
References:  <20051229221459.A17102@cons.org> <868xu22mmp.fsf@xps.des.no> <200512301856.28800.jhb@freebsd.org> <200512310115.40490.jhb@freebsd.org> <20051231015102.A51804@cons.org> <43B66EF1.4020906@freebsd.org> <20060109113634.A17206@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Cracauer <cracauer@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
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ace5mibg.fsf>