Last modified: 2014-10-08 18:50:18 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 T29980, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27980 - illegally named upload files not handled consistently.
illegally named upload files not handled consistently.
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.16.x
All Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-10 19:40 UTC by mickeyf
Modified: 2014-10-08 18:50 UTC (History)
4 users (show)

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


Attachments

Description mickeyf 2011-03-10 19:40:06 UTC
A co-worker uploaded a file (from a Windows PC to a Linux Server) with a "+" in its name. Now when you try to access that file it says 

"no file by this name ["plus sign replaced with a space"] exists, but you can upload it".

However, when you try to upload it again, it says "already present"!

I would suggest that mediawiki either prevent the upload of files with illegal names, or treat them consistently after they have been uploaded.
Comment 1 Bawolff (Brian Wolff) 2011-03-12 00:35:00 UTC
I think this might be an issue with your webserver/rewrite rules or something like that. + is allowed in titles (although should be encoded as %2B ).

If you change the url to replace + sign with %2B (or replace the underscore with %2B if it got converted to an underscore) does it work. If you include an image in a page with [[image:NameWith+Sign.png]] (use a literal + there), does it work?
Comment 2 Mark A. Hershberger 2011-04-22 00:41:20 UTC
Lowering priority till we can get this confirmed as a MW problem and not a config problem.
Comment 3 Bawolff (Brian Wolff) 2011-04-23 02:27:19 UTC
(In reply to comment #2)
> Lowering priority till we can get this confirmed as a MW problem and not a
> config problem.

Note, can't be that much of a mediawiki problem given that things like [[commons:File:U+2160.gif]] works fine.
Comment 4 John Mark Vandenberg 2014-10-07 15:33:46 UTC
WFM per comment 3.  Please re-open if the problem still exists, and it doesnt appear to be a config issue.
Comment 5 mickeyf 2014-10-08 18:50:18 UTC
I understand (3-1/2 years and several version later) that this is a somewhat obscure issue, and low priority. However:

UX perspective - If a user of Mediawiki enters a file name through one part of the Mediawiki UI, and gets "file does not exist", then enters the same file name through a different part of the Mediawiki UI, and gets "file already present"

...how can this possibly *not* be considered a Mediawiki issue?

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


Navigation
Links