In my personal configuration, I include in the prompt that control-c will cancel the download, a natural side-effect/feature of the implementation.
Ben
Original Message
From: Dmitrij D. Czarkoff
Sent: Thursday, January 8, 2015 6:17 PM
To: dev mail list
Reply To: dev mail list
Subject: Re: [dev] security issue running surf from home folder
Christoph Lohmann said:
> Theses patches have been discussed on IRC. The optimal solution has been
> to make the default DOWNLOAD macro to ask for a string. If the string is
> empty, pass ‐O to curl, if it’s non‐empty add ‐‐create‐dirs and ‐o
> $string to curl.
>
> Any comments on this?
If prompt is shown, it would be nice to have an option to abort download
at this point. Otherwise every flash ad gets downloaded without any
sort of confirmation.
--
Dmitrij D. Czarkoff
Received on Fri Jan 09 2015 - 04:38:02 CET