Last modified: 2010-05-15 15:29:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 538 - Uploading of zero byte images without name
Uploading of zero byte images without name
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.3.x
All All
: Normal normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 202
  Show dependency treegraph
 
Reported: 2004-09-20 14:45 UTC by Alfio Puglisi
Modified: 2010-05-15 15:29 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alfio Puglisi 2004-09-20 14:45:44 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.
Comment 1 Brion Vibber 2004-09-20 15:48:46 UTC
We need to stamp out these silly problems once and for all.

Make sure it's fixed in both branches...
Comment 2 Antoine "hashar" Musso (WMF) 2004-09-20 16:00:37 UTC
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.
Comment 3 Antoine "hashar" Musso (WMF) 2004-09-20 16:27:15 UTC
The upload form now print an 'emptyfile' error message if filename is empty.
Comment 4 Thomas R. Koll 2004-09-21 16:50:54 UTC
getting error 'emptyfile' if I re-upload a file.

reproduced it by uploading a file which already existis.
Comment 5 Antoine "hashar" Musso (WMF) 2004-09-21 17:51:23 UTC
Reupload form use a different variable for the name. Should be fixed now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links