[ https://issues.apache.org/jira/browse/CB-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821910#comment-13821910 ]
Josh Soref edited comment on CB-5368 at 11/13/13 10:15 PM: ----------------------------------------------------------- OK, the problem relates to [~agrieve]'s commit, although it has nothing to do w/ the main part of the commit, it's just one small blob: {{ + var acceptEncoding = request.headers['accept-encoding'] || ''; + if (acceptEncoding.match(/\bdeflate\b/)) { + respHeaders['content-encoding'] = 'deflate'; + readStream = readStream.pipe(zlib.createDeflate()); + } else if (acceptEncoding.match(/\bgzip\b/)) { + respHeaders['content-encoding'] = 'gzip'; + readStream = readStream.pipe(zlib.createGzip()); + } }} If you comment this out (or sniff against IE) then IE is happy. was (Author: jsoref): OK, the problem relates to [~agrieve]'s commit, although it has nothing to do w/ the main part of the commit, it's just one small blob: {{{ + var acceptEncoding = request.headers['accept-encoding'] || ''; + if (acceptEncoding.match(/\bdeflate\b/)) { + respHeaders['content-encoding'] = 'deflate'; + readStream = readStream.pipe(zlib.createDeflate()); + } else if (acceptEncoding.match(/\bgzip\b/)) { + respHeaders['content-encoding'] = 'gzip'; + readStream = readStream.pipe(zlib.createGzip()); + } }} If you comment this out (or sniff against IE) then IE is happy. > Cordova Serve not working correctly with IE11 > --------------------------------------------- > > Key: CB-5368 > URL: https://issues.apache.org/jira/browse/CB-5368 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: Master, 3.2.0 > Environment: Windows8 > Reporter: Dick van den Brink > > Cordova serve isn't working correctly with IE11. > The landing page works, but clicking a platform gives a error message from > IE11. The error is "This page can't be displayed". > The same url is working in Pale Moon (firefox). > Tested on master and 3.2.0 rc. > Steps to reproduce on Windows8. > * cordova create . com.example.hello HelloWorld > * cordova platform add android > * cordova serve > * IE11 open landing page > * IE11 Click Android, error appears > Use another browser and the same steps work. > Note: The cordova log is giving a status code 200 with IE11. -- This message was sent by Atlassian JIRA (v6.1#6144)