Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1512

FileTransfer API and Mojolicious

    XMLWordPrintableJSON

    Details

      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)

        Attachments

          Activity

            People

            • Assignee:
              macdonst Simon MacDonald
              Reporter:
              david-m-c David Coe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: