On 12/06/2014 06:21 PM, Howard Lewis Ship wrote:
> It's a very deliberate security design implement by all browsers otherwise
> a invisible hidden form field could read any file on your filesystem

Yes you are completely right.

Note to self: don't ask question if you are too tired to think

Kind regards,

Martijn


> 
> On Friday, December 5, 2014, Thiago H de Paula Figueiredo <
> thiag...@gmail.com> wrote:
> 
>> On Fri, 05 Dec 2014 16:41:55 -0200, martijn.list <martijn.l...@gmail.com>
>> wrote:
>>
>>  Hi,
>>>
>>
>> Hi!
>>
>>  I have a form which contains an Upload component and some other fields.
>>>
>>> If I select a file for upload and submit the form and the page
>>> validation fails (for example because I forgot to fill in some required
>>> field), the selected file is no longer selected.
>>>
>>> Is this by design? The other fields are retained on a validation error.
>>>
>>
>> This is how HTML's <input type="file"> works. It doesn't allow you to give
>> it an initial value.
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Tapestry, Java and Hibernate consultant and developer
>> http://machina.com.br
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
> 


-- 
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

http://www.ciphermail.com

Twitter: http://twitter.com/CipherMail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to