You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "David Coe (JIRA)" <ji...@apache.org> on 2012/09/20 11:58:08 UTC
[jira] [Created] (CB-1512) FileTransfer API and Mojolicious
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
[jira] [Updated] (CB-1512) FileTransfer API and Mojolicious
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve updated CB-1512:
------------------------------
Component/s: iOS
> FileTransfer API and Mojolicious
> --------------------------------
>
> Key: CB-1512
> URL: https://issues.apache.org/jira/browse/CB-1512
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, iOS
> 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
> Fix For: 2.2.0
>
>
> 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
[jira] [Assigned] (CB-1512) FileTransfer API and Mojolicious
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald reassigned CB-1512:
-----------------------------------
Assignee: Simon MacDonald (was: Joe Bowser)
> 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
[jira] [Resolved] (CB-1512) FileTransfer API and Mojolicious
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-1512.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
> 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
> Fix For: 2.2.0
>
>
> 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
[jira] [Commented] (CB-1512) FileTransfer API and Mojolicious
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CB-1512) FileTransfer API and Mojolicious
Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460555#comment-13460555 ]
Andrew Grieve commented on CB-1512:
-----------------------------------
Did the same for iOS: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=0c0b87bcae687588a5df5c78041aa46167abf1ff
> FileTransfer API and Mojolicious
> --------------------------------
>
> Key: CB-1512
> URL: https://issues.apache.org/jira/browse/CB-1512
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, iOS
> 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
> Fix For: 2.2.0
>
>
> 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
[jira] [Updated] (CB-1512) FileTransfer API and Mojolicious
Posted by "David Coe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Coe updated CB-1512:
--------------------------
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)
was:
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)
> 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
> 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