https://bugzilla.wikimedia.org/show_bug.cgi?id=16772
Summary: Special:Upload isn't normalizing spaces in file
extension correctly
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://en.wikipedia.org/wiki/File:%22City_of_India,Actre
ss_Prachee_Adhikari_for_some_promotion,New_Delhi_1_-
_Oct_2007._jpg
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
Try uploading a file with a space in its extension:
1) Go to Special:Upload
2) Pick some .jpg file
3) Change the destination filename field to end in ". jpg" (note space between
. and jpg)
4) Submit!
It should translate the " " to "_" immediately, then reject the file as a whole
as "._jpg" is not recognized.
However, it seems to be allowing the upload through; file type is detected
using the trimmed "jpg" form, but the web server of course doesn't know "._jpg"
and serves it as a binary file which causes confusion.
Some on-wiki discussion:
http://en.wikipedia.org/wiki/Wikipedia:VPT#Image_does_not_display.2C_rather_attempts_to_download
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l