https://bugzilla.wikimedia.org/show_bug.cgi?id=38133
Web browser: ---
Bug #: 38133
Summary: Uploading Illegal file names breaks app
Product: WikiLoves Monuments Mobile
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Upload
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Click on Denmark and choose the second monument. Try and upload an image. This
fails and freezes the screen:
From the log file:
D/CordovaLog(22469): Filename is Frihedsstøtten, København 1341277274569
D/CordovaLog(22469): file:///android_asset/www/js/app.js: Line 157 : Filename
is Frihedsstøtten, København 1341277274569
D/CordovaLog(22469): Code = 200
D/CordovaLog(22469): file:///android_asset/www/js/api.js: Line 102 : Code = 200
D/CordovaLog(22469): Response =
{"servedby":"srv193","error":{"code":"illegal-filename","info":"The filename is
not allowed","filename":"Frihedsst\ufffdtten, K\ufffdbenhavn
1341277274569","filekey":"10oob7ji1brc.ep3f88.19016.jpg","sessionkey":"10oob7ji1brc.ep3f88.19016.jpg","invalidparameter":"filename"}}
D/CordovaLog(22469): file:///android_asset/www/js/api.js: Line 103 : Response =
{"servedby":"srv193","error":{"code":"illegal-filename","info":"The filename is
not allowed","filename":"Frihedsst\ufffdtten, K\ufffdbenhavn
1341277274569","filekey":"10oob7ji1brc.ep3f88.19016.jpg","sessionkey":"10oob7ji1brc.ep3f88.19016.jpg","invalidparameter":"filename"}}
D/CordovaLog(22469): Sent = 199720
D/CordovaLog(22469): file:///android_asset/www/js/api.js: Line 104 : Sent =
199720
D/CordovaLog(22469): Error in success callback: FileTransfer3 = TypeError:
Cannot read property 'result' of undefined
D/CordovaLog(22469): file:///android_asset/www/android/cordova-1.8.1.js: Line
254 : Error in success callback: FileTransfer3 = TypeError: Cannot read
property 'result' of undefined
--
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