cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-5368) Cordova Serve not working correctly with IE11
Date Wed, 13 Nov 2013 22:25:22 GMT

    [ 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:25 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 = ...
... if ...
... createDefalte ...
... else ..
... gzip ...

[JIRA ate my homework]

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)

Mime
View raw message