[ https://issues.apache.org/jira/browse/CB-8304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-8304. ------------------------------- Resolution: Duplicate > File transfer plugin - upload to invalid server can cause app to crash on iOS > ----------------------------------------------------------------------------- > > Key: CB-8304 > URL: https://issues.apache.org/jira/browse/CB-8304 > Project: Apache Cordova > Issue Type: Bug > Components: iOS, mobile-spec, Plugin File Transfer > Affects Versions: Master > Reporter: Jason Chase > Assignee: Jason Chase > Labels: file-transfer, ios, plugin > > This was discovered when investigating that the file transfer plugin > automatic tests would consistently cause mobile spec to crash on iOS. The > specific offending test is "filetransfer.spec.25 should handle unknown host". > Investigation reveals that when an invalid host is specified as the upload > target, on iOS, the upload will fail in the background. Part of the plugin's > native iOS error handling is to delete the "target" file. When the upload > target does not include a path (e.g. the test uses > "http://foobar.apache.org"), an error will occur trying to delete a nil path. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org