Re: File selected for upload is cleared when page validation fails [T5.4]

2014-12-06 Thread Howard Lewis Ship
It's a very deliberate security design implement by all browsers otherwise a invisible hidden form field could read any file on your filesystem 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 > wrote: > >

Re: File selected for upload is cleared when page validation fails [T5.4]

2014-12-06 Thread Bob Harner
Martijn, For most common scenarios the best fix is to do sufficient validation on the client (JavaScript) that the server side validation is not likely to fail. Going further, you could store the uploaded file *before* the validation fails, and then only display the file's name, rather than the in

URL Rewrite with Form Validations

2014-12-06 Thread George Christman
Hi, I'm doing some URL rewriting and I just discovered a new issue. I have the following page rewritten to a new URL. "/sell/buildlisting/sell-car" with "sell-car" being the context param and I'm rewriting the URL to "/sell-car". When a form.error occures and the page reloads, it returns "sell/buil