Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
Android app created via PhoneGap Build, uploading image files to Mojolicious server.
Description
Hi,
I've been using PhoneGap build to produce an app that needs to upload images to a Mojolicious server. Unfortunately Mojolicious refuses to accept the upload from the app as the content-type boundary value is set to '*****' in FileTransfer.java. It seems that Mojolicious refuses this as '*' is not an allowed character under the spec (http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html).
Due to the nature of PhoneGap Build it is not possible to edit this value in FileTransfer.java directly as far as I am aware. Ideally this could perhaps be configured as a value passed via the FileTransfer API, but a simpler solution may be to use a more compliant value as the default.
(Issue posted here as recommended on PhoneGap Build forums http://gsfn.us/t/34rul)