[
https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460552#comment-13460552
]
Simon MacDonald commented on CB-1512:
-------------------------------------
[~david-m-c] I changed the boundary to "+++++" which should be accepted by
Mojolicious. All of my internal FileTransfer tests are passing. If you want a
jar/js combo to test against Mojolicious I can send you one.
> 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: Simon MacDonald
> Labels: Build, FileTransfer, boundary, upload
>
> 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