Last modified: 2006-06-04 01:28:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T3758, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1758 - Upload filename minimum length counts only to first period
Upload filename minimum length counts only to first period
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 1883 2040 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-26 06:29 UTC by Koyaanis Qatsi
Modified: 2006-06-04 01:28 UTC (History)
2 users (show)

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


Attachments

Description Koyaanis Qatsi 2005-03-26 06:29:16 UTC
The count on the number of characters in a filename is stopped at the first
period.  e.g. trying to upload an image called "D. A. Pennebaker CU.jpg" returns
the error "File names must be at least three letters."  After some slight
experimentation I found out that removing the periods allowed the file to be
uploaded, hence this bug report.

I doubt this is very common (or, for that matter, very critical); I can think of
only a few people who go by initials, and I imagine most people would try
renaming the file.  Maybe just add a short note to the upload page?
Comment 1 Brion Vibber 2005-03-26 06:37:30 UTC
Better handling may be to strip all periods but the last.
Comment 2 Koyaanis Qatsi 2005-03-26 07:20:15 UTC
Erm.  That's what I mean; that's what I had to figure out to do.  :-)(In reply
to comment #1)
Comment 3 Brion Vibber 2005-04-13 06:48:50 UTC
*** Bug 1883 has been marked as a duplicate of this bug. ***
Comment 4 Brion Vibber 2005-05-01 07:19:22 UTC
*** Bug 2040 has been marked as a duplicate of this bug. ***
Comment 5 David Benbennick 2005-08-04 22:24:35 UTC
The software should simply count the length to the last period, not 
the first.  I ran into this bug today with
[[Image:E.T. poster.jpg]]
Comment 6 Felipe Corrêa da Silva Sanches 2005-08-17 14:35:28 UTC
in my wiki I allow .tar.gz files, but when I try to upload a file like
pfbgimage-0.02.tar.gz it tells me that ".02.tar.gz" is not allowed.

So, its not a matter of renaming because it would mess with the convention of
<packagename>-<versionnumber>.tar.gz

the files shoudn´t be renamed and the file extension validator should parse the
filename from right to left. (not necessarilly stopping at the first period from
right to left - see the .tar.gz example)
Comment 7 Rob Church 2006-06-04 01:28:10 UTC
I remember fixing this just before the 1.6.0 release.

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


Navigation
Links