https://bugzilla.wikimedia.org/show_bug.cgi?id=48261
Web browser: ---
Bug ID: 48261
Summary: Uploading a file with a bad filename doesn't report an
error it reports a warning
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
A photo doesn't get uploaded when you give a bad filename but for some reason
it gives a warning.
{"upload":{"result":"Warning","warnings":{"badfilename":"Test_2013-05L-08_08-22.JPG"},"filekey":"11f0ht8dgbxg.ajqpua.1.jpg","sessionkey":"11f0ht8dgbxg.ajqpua.1.jpg"}}
Expected:
"upload":{"result":"error","error":{"badfilename":"Test_2013-05L-08_08-22.JPG"},"filekey":"11f0ht8dgbxg.ajqpua.1.jpg","sessionkey":"11f0ht8dgbxg.ajqpua.1.jpg"}}
--
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