[jira] [Commented] (CB-3430) FileTransfer gzipped content is not unzipped
[ https://issues.apache.org/jira/browse/CB-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704690#comment-13704690 ] ASF subversion and git services commented on CB-3430: - Commit e4559a21d724b497ab685f869043ff1d3577dc64 in branch refs/heads/master from [~iclelland] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=e4559a2 ] [CB-3430] [CB-1413] Remove Old (2.3.3) HTTP Workaround Cherry-picked from 2.x branch of cordova-android [01946dd4] FileTransfer gzipped content is not unzipped Key: CB-3430 URL: https://issues.apache.org/jira/browse/CB-3430 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Android 2.3, tested on a Samsung Galaxy S Reporter: Florian Falkner Assignee: Ian Clelland Labels: android, download, gzip When downloading a gzipped file via FileTransfer.download from a remote URL the file is not unzipped on the local filesystem. The file is saved in gzipped form, inclusion as javascript or css fails. Auto unzipping works on Android 4+. Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp. -- 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-3430) FileTransfer gzipped content is not unzipped
[ https://issues.apache.org/jira/browse/CB-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13704770#comment-13704770 ] Ian Clelland commented on CB-3430: -- It looks like this patch hadn't made it to the 3.x development line. I committed it there and verified the fix on Android 2.3 FileTransfer gzipped content is not unzipped Key: CB-3430 URL: https://issues.apache.org/jira/browse/CB-3430 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Android 2.3, tested on a Samsung Galaxy S Reporter: Florian Falkner Assignee: Ian Clelland Labels: android, download, gzip When downloading a gzipped file via FileTransfer.download from a remote URL the file is not unzipped on the local filesystem. The file is saved in gzipped form, inclusion as javascript or css fails. Auto unzipping works on Android 4+. Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp. -- 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-3430) FileTransfer gzipped content is not unzipped
[ https://issues.apache.org/jira/browse/CB-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13664149#comment-13664149 ] Ian Clelland commented on CB-3430: -- It's not a bug in OkHttp -- it's actually due to some special-case handling of pre-honeycomb Android to work around some HTTP bugs there (see CB-1413). The bug in that ticket was actually fixed by upgrading to OkHttp, so I've been able to remove the special case, and GZIP-encoding is now handled correctly in Android 2.3.3. FileTransfer gzipped content is not unzipped Key: CB-3430 URL: https://issues.apache.org/jira/browse/CB-3430 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 2.7.0 Environment: Android 2.3, tested on a Samsung Galaxy S Reporter: Florian Falkner Assignee: Ian Clelland Labels: android, download, gzip When downloading a gzipped file via FileTransfer.download from a remote URL the file is not unzipped on the local filesystem. The file is saved in gzipped form, inclusion as javascript or css fails. Auto unzipping works on Android 4+. Downgrading to Cordova 2.6 solves the issue, seems to be a bug in OkHttp. -- 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