You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jonathan Rauprich (JIRA)" <ji...@apache.org> on 2013/06/18 00:41:19 UTC

[jira] [Created] (CB-3853) FileTransfer Upload doesn't send valid Multipart

Jonathan Rauprich created CB-3853:
-------------------------------------

             Summary: FileTransfer Upload doesn't send valid Multipart
                 Key: CB-3853
                 URL: https://issues.apache.org/jira/browse/CB-3853
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer, WP8
    Affects Versions: 2.8.0
            Reporter: Jonathan Rauprich
            Assignee: Steve Gill


If params is set in UploadOptions the POST request will contain double boundaries.

Example:

------------------------------8d039cdce67d6c6
Content-Disposition: form-data; name="some param"

some value
------------------------------8d039cdce67d6c6
------------------------------8d039cdce67d6c6
Content-Disposition: form-data; name="file"; filename="test.txt"
Content-Type: text/plain

foobar
------------------------------8d039cdce67d6c6

the double double boundary is not valid in RFC1341

--
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