Last modified: 2010-05-15 15:29:16 UTC
If you leave the filename field empty and just press the "upload" button, a zero byte file without name will be uploaded and registered in recent changes. Attempting to edit the corresponding page will result in an invalid name error.
We need to stamp out these silly problems once and for all. Make sure it's fixed in both branches...
in cvs it reports an sql error: INSERT INTO image (img_name,img_size,img_timestamp,img_description,img_user,img_user_text) VALUES (NULL,'0','20040920155648','ok','3','Hashar') Taking care of this bug.
The upload form now print an 'emptyfile' error message if filename is empty.
getting error 'emptyfile' if I re-upload a file. reproduced it by uploading a file which already existis.
Reupload form use a different variable for the name. Should be fixed now.