David Coe created CB-1512:
-----------------------------
Summary: FileTransfer API and Mojolicious
Key: CB-1512
URL: https://issues.apache.org/jira/browse/CB-1512
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 2.0.0
Environment: Android app created via PhoneGap Build, uploading image
files to Mojolicious server.
Reporter: David Coe
Assignee: Joe Bowser
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira