[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 538 – Uploading of zero byte images without name

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.


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011