[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
Re: [Bug-wget] [Bug-Wget] Use of maltipart/form-data when using body-file command
Sun, 14 Apr 2013 23:57:49 +0530
> I don't think this is a good idea. It will create confusion, I prefer
> them to work exactly in the same way so one day we can drop the --post-*
> Okay, in that case, we could have a new command, something like:
--body-attach to signify an attached file.
I was more thinking of how to specify "boundary" for instance. Expect
> that the file is well formed doesn't seem nice to users.
> I don't really catch this. Shouldn't wget simply forward the file
specified by the user? What kind of checks should wget implement?
>At most, we could prevent the file from being an executable
> >binary. (ELF in Linux, Win32 EXE in Windows, etc.)
> Just a thought. To prevent misuse of Wget to send potentially malicious
code to the servers.
Scratch that, if it doesn't sound good.
Research Lead, Code Innovation
Kill Code Phobia.
B.E.(Hons.) Mechanical Engineering, '14. BITS-Pilani