[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [Bug-Wget] Use of maltipart/form-data when using body-fil

From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [Bug-Wget] Use of maltipart/form-data when using body-file command
Date: Sun, 14 Apr 2013 14:57:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Darshit Shah <address@hidden> writes:

> Assuming that my previous patch adding --method, --body-file and
> --body-data options is accepted and merged into master,
> I wanted to propose that we use Content-Type: multipart/form-data and send
> the whole file as-is when using the --body-file option.
> This allows us to add the long missing functionality to send files as
> attachments through wget, without having to change the working of the old
> options.

this change will break backward compatibility, we need a new option for
that and leave the default unchanged.

How do you expect the file to be in this case?  Will wget do any filtering?

> The only problem I currently see here is that there remains no way for a
> user to send body-data in a way that is cannot be seen by another user who
> can run ps.

don't worry about it, command line arguments are not meant to be secure.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]