Darshit Shah <dar...@gmail.com> 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.

-- 
Giuseppe

Reply via email to