IE10 websocket allowInsecureFromHttps [英] IE10 websocket allowInsecureFromHttps

查看:110
本文介绍了IE10 websocket allowInsecureFromHttps的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Websocket实现,我正在尝试在各种浏览器上工作.

I've got a websocket implementation that I'm trying to make work across browsers.

在某个时候,我们将迁移到wss://(即加密的websockets),但目前为止全都是ws://.当我们提供从https重定向到ws主机的页面时,我们将看到以下内容:

At some point, we'll migrate to wss:// (i.e. encrypted websockets) but for now, it's all ws://. When we serve a page from https that redirects to a ws host, we see the following:

  1. Chrome还可以.
  2. 如果将allowInsecureFromHttps设置设置为true,则Firefox可以.
  3. IE10 Barfs.

我知道正确的路径是简单地实现wss,但是与此同时,我想知道是否可以对IE10应用任何配置,类似于firefox的allowInsecureFromHttps,它将允许打开ws://链接从https://页面开始.

I know that the correct path is to simply implement wss, but in the meantime, I'm wondering if there's any configuration I can apply to IE10, similar to firefox's allowInsecureFromHttps that will permit a ws:// link to be opened from an https:// page.

谢谢!

推荐答案

很抱歉,但是IE10没有这样的配置.您需要为此实现wss.

Sorry to say, but there is no such configuration for IE10. You need to implement wss for it.

这篇关于IE10 websocket allowInsecureFromHttps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆