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

John Baldwin jhb at freebsd.org
Tue Jan 3 12:25:08 PST 2006


On Saturday 31 December 2005 04:30 am, Andrey Chernov wrote:
> On Sat, Dec 31, 2005 at 10:04:11AM +0100, Thomas Gellekum wrote:
> > Andrey Chernov <ache at FreeBSD.ORG> writes:
> > > There is easy way to make most security hackarounds unneeded in the way
> > > like every browser does: confirm final file name interactively. I.e.
> > > fetch can do something like this:
> > >
> > > Save as filename.exe (Y/N)?
> >
> > And for use in scripts you'd like to add a -y switch to say "yes, I
> > <beep> mean it"?
>
> Personally I prefer to see this feature not for scripts at all, but this
> is the next story and can be discussed afterwards.

It is only intended for scripts.  You can already use Mozilla and have it do 
this feature for non-scripted behavior.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list