Re: fetch extension - use local filename from content-disposition header



On Thu, Dec 29, 2005 at 07:33:38PM -0500, Martin Cracauer wrote:
> I'm a bit rusty, so please point me to style mistakes in the appended
> diff.
>
> The following diff implements a "-O" option to fetch(1), which, when
> set, will make fetch use a local filename supplied by the server in a
> Content-Disposition header.

Have you considered the security implications of this option?

--
Barney Wolff http://www.databus.com/bwresume.pdf
I never met a computer I didn't like.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Very Newbie FTP questions
    ... Saved in HTML. ... >> Fetch, connected with my new web site. ... > I'm assuming that you were able to connect with your server since you ... to force a page reload in the browser (unless you have your browser ...
    (comp.sys.mac.comm)
  • Re: fetch extension - use local filename from content-dispositionheader (new diff)
    ... Previously giving this non-argument -O flag would use the ... Now this flag takes an expected filename as an argument. ... if we make a mistake in the URL or if the server changes the mapping. ... +If the server sent a Content-Disposition header, the +.Fa content_disposition +field will contain the suggested local filename. ...
    (freebsd-current)
  • Re: Table Defaults
    ... This following definition is from Microsoft ... Fetch Defaults Choose Yes to have the form fetch the default ... It appears you assume FetchDefaults prevents the server call. ... For some tables it actually inhibits / interferes with the user entry. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: [fw-wiz] i-cap proposals
    ... POP3 is the insane mail protocol. ... You really should be doing scanning on the server. ... If you trigger a scan on a header fetch, ...
    (Firewall-Wizards)
  • Re: Swing performance query
    ... Martin Gregorie wrote: ... fetch a block of data from the server ... This shows that, provided the average fetch is more than 25 bytes or so, the transfer rate across a 10Mb/s sockets connection is at least as fast as the data rate on a 9600 baud serial connection. ... What about the display operation that I thought was slow? ...
    (comp.lang.java.programmer)