https://bugzilla.wikimedia.org/show_bug.cgi?id=18263
Summary: Single quote in file name confuses reupload form
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://commons.wikimedia.org/w/index.php?title=Special:U
pload&wpDestFile=Insigne_de_l%27ETAP.jpg&wpForReUpload=1
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Go to the re-upload form for file [[File:Insigne de l'ETAP.jpg]] on the
Commons:
http://commons.wikimedia.org/w/index.php?title=Special:Upload&wpDestFile=Insigne_de_l%27ETAP.jpg&wpForReUpload=1
The XHTML is invalid, it contains
<input tabindex='2' type='hidden' name='wpDestFile' id='wpDestFile'
value='Insigne_de_l'ETAP.jpg' /><tt>Insigne_de_l'ETAP.jpg</tt>
'Insigne_de_l'ETAP.jpg' is not a valid string.
As a result, you cannot upload a file, the server will always respond
"The file has no extension (like ".jpg")." (At least in Firefox, because
FF passes "Insigne_de_l" as the value and ignores the rest.)
Somehow, the single quote in the file name does not get escaped.
See also
http://commons.wikimedia.org/wiki/Commons:Bistro#Pb_de_t.C3.A9l.C3.A9chargement_d.27une_nouvelle_version
--
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