2014-11-03 65 views
1

我们正在构建一个不在Internet Explorer中加载的Web应用程序(已针对多个版本进行了测试,主要针对Windows 7 + IE 10进行了完全修补)。在Internet Explorer中不加载应用程序

即使在https://mailapp.co登录页面没有加载和显示简洁

该页面无法显示

•确保网址https://mailapp.co是正确的。

•使用搜索引擎查找页面。

•几分钟后刷新页面。

运行Node.js v0.10.25的网络应用加载到所有其他主流浏览器(Firefox,Chrome,Safari和Opera)中。

我们使用Fiddler进行了测试,我们得到了正确的HTTP请求,并用似乎有效的HTML5页面回答了正确的HTTP响应。

HTTP请求是:

GET https://mailapp.co/ HTTP/1.1 
Accept: text/html, application/xhtml+xml, */* 
Accept-Language: en-US 
User-Agent: Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko 
Accept-Encoding: gzip, deflate 
Host: mailapp.co 
DNT: 1 
Connection: Keep-Alive 
Cookie: ec=7g2c35tl5wbxkszmjokf9pamgaip4c75; ic=hoglks876bjkfxx2ker7i381mnektmz9 

(注意,该cookie指示的Internet Explorer确实能够与服务器进行通信,并且至少可以读取以前的请求的响应头)

的HTTP发送响应(由小提琴手来看):

HTTP/1.1 200 OK 
Cache-Control: no-cache 
Pragma: no-cache 
Date: Mon, 03 Nov 2014 21:02:07 GMT 
Server: https 
Content-Type: text/html; charset=utf-8 
Set-Cookie: ec=7g2c35tl5wbxkszmjokf9pamgaip4c75; expires=Mon, 03 Nov 2014 21:16:31 GMT; path=/ 
Set-Cookie: ic=hoglks876bjkfxx2ker7i381mnektmz9; expires=Mon, 03 Nov 2014 21:16:31 GMT; path=/ 
Connection: keep-alive 
Content-Length: 3881 

和HTML页面:

<!DOCTYPE html><html><head><meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/_internal_/dynamic_resource/lib/stdlib/themes/bootstrap/bs-resources/3.2.0/css/bootstrap.min.css"/><link rel="stylesheet" type="text/css" href="/resources/css/theme.css"/><link rel="stylesheet" type="text/css" href="/resources/css/tablesorter.css"/><link rel="stylesheet" type="text/css" href="/resources/css/jquery-ui-bootstrap/jquery-ui-1.9.2.custom.css"/><link rel="stylesheet" type="text/css" href="/resources/css/jquery.fileupload/jquery.fileupload-ui.css"/> 
<!--[if lt IE 9]> 
<script src="/resources/js/html5shiv.min.js"></script> 
<![endif]--><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> 
    <meta name="viewport" content="width=device-width,initial-scale=1"/> 
    <link rel="stylesheet" type="text/css" href="/resources/css/style.css?v=1415034398289"/> 
    <link rel="stylesheet" type="text/css" href="/resources/css/icons.css?v=1415034398289"/> 
<!--[if IE]> 
<link rel="stylesheet" type="text/css" href="/resources/css/jquery-ui-bootstrap/jquery-ui-1.9.2.ie.css"/> 
<![endif]--><title>PEPS</title><script type="text/javascript">var page_server = 4848982584983552; var page_lang = "en";</script></head><body id="Body"><div id="main" class="main o-selectable narrow"> 
<div id="notification_area" class="o-selectable"></div><div class="home-page"> 
<div class="home-tagline"> 
<h1><i class="fa fa-envelope"></i> PEPS</h1> 
</div> 
<div class="card"> 
<h3>Sign in to your mailbox</h3> 
<div id="login" class="well"><div id="loginbox"> 
<iframe src="/_internal_/null" id="loginbox__iframe" name="loginbox__iframe" width="0" height="0" style="visibility:hidden;display:none;width:0px;height:0px;opacity:0;"></iframe> 
     <form target="loginbox__iframe" method="post" action="/_internal_/null" name="loginbox__form" id="loginbox__form" autocomplete="on" role="form"> 
<span id="loginbox_not_logged" style=""> 

<div class="form-group"> 
<input id="loginbox_username" type="text" autocomplete="on" name="loginbox_username" placeholder="username" class="form-control"/> 
</div> 

<div class="form-group"> 
<input id="loginbox_password" type="password" autocomplete="on" name="loginbox_password" placeholder="password" class="form-control"/> 
</div> 

<button type="submit" class="btn btn-primary">Sign in</button> 
</span> 
</form> 
<span id="loginbox_logged"></span> 
<span id="loginbox_unlogged"></span> 
</div></div> 

</div> 
</div></div><footer id="footer" class="footer"> 
<div class="container"> 
<span class="copyright"> 

</span> 

</div> 
</footer><script src="/_internal_/fcd3eed4b25df421e8c8878591719ea3/code/all.js" type="text/javascript"></script><script src="/resources/js/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script><script src="/resources/js/jquery.tokeninput.js" type="text/javascript"></script><script src="/resources/js/mail.js?v=1415034398289" type="text/javascript"></script><script src="/resources/js/bootstrap-contextmenu.js" type="text/javascript"></script> 
<script type="text/javascript">//<![CDATA[ 

$(function(){var event = _B;_Dd(_A("{\"srv_id\":\"jksaoxkxzyrtlqqfrdabwt\"}",{"TyArrow_res":{"TyName_ident":"void","TyName_args":{"nil":_C}},"TyArrow_params":{"tl":{"nil":_C},"hd":{"TyName_ident":"Dom.event","TyName_args":{"nil":_C}}}}))(_F(event))}); 
$('#loginbox__form') 
.bind('submit',(function(event){_f(_A("{\"srv_id\":\"efaailcmsbmngehlfjzkwu\"}",{"TyArrow_res":{"TyName_ident":"void","TyName_args":{"nil":_C}},"TyArrow_params":{"tl":{"tl":{"nil":_C},"hd":{"TyConst":{"TyString":_C}}},"hd":{"TyConst":{"TyString":_C}}}}),"loginbox")(_F(event))})) 

$(function(){var event = _B;_e({"TyConst":{"TyString":_C}},{"TyConst":{"TyString":_C}})("loginbox_username","username")(_F(event))}); 
$(function(){var event = _B;_g({"TyConst":{"TyString":_C}},{"TyConst":{"TyString":_C}})("loginbox_password","password")(_F(event))}); 
//]]> 
</script> 
</body></html> 
  • 我们有什么问题吗?
  • 它是一个错误或反复无常的IE行为? (like this
+0

只用您提供的信息很难回答您的问题。你能告诉我们你正在使用什么样的服务器,或者有关你的应用程序的其他相关细节吗?更好的是,你可以发布一些代码吗? – 2014-11-03 20:31:52

+0

您使用的是哪种服务器端HTTPS实现?客户端在握手期间关闭连接,这意味着存在加密问题。 – EricLaw 2014-11-03 20:39:26

+0

您可能希望查看https://www.ssllabs.com/ssltest/analyze.html?d=mailapp.co,其中指出了一些问题,包括您的证书链正在发送根目录。 – EricLaw 2014-11-03 20:47:00

回答

1

非常厉害,我写了一篇关于您最近在我的IEInternals post on Web Compression中遇到的问题。

您正在使用Content-Encoding: deflate并在DEFLATE内容上发送2字节的ZLIB标头。 Internet Explorer can't handle that。使用Content-Encoding: gzip或删除2字节的ZLIB标头。

+0

真棒回应,EricLaw。奇怪的是,当cookie被设置时,HTTP响应头被IE看到。我正在测试(使用[Opa](http://opalang.org)实现应用程序并生成Node.js代码,因此需要一些时间)。 – Henri 2014-11-03 21:10:04

+0

@亨利,这是正确的,HTTP头没有压缩,因此这个问题并没有打扰他们。 – EricLaw 2014-11-03 21:11:43

+0

问题修复了,谢谢EricLaw。 – Henri 2014-11-03 21:58:29

相关问题