Re: Bug: file upload with non-existent files

On 07.04.01 at 17:19, Björn Höhrmann <derhoermi@gmx.net> wrote:
>If someone uses http://validator.w3.org/file-upload.html but does not
>select any file to upload, the script produces an internal server error.

On 14.04.01 at 00:31, Björn Höhrmann <derhoermi@gmx.net> wrote:
>   If I use the file upload formular and submit a file that does not
>exist on my computer, the validator doesn't care about that, validates
>the file instead of issuing some error message.

Ok, I just checked in a fix for this. It should appear in the next update.
Since error handling isn't particularly fancy and we need to rewrite it at
some point anyway, I just made it redirect to the home page as it does for
most errors. At least it won't spit server errors and bogus validation
results at you.

Thanks for catching these!

Received on Tuesday, 17 April 2001 01:07:06 UTC