Facebook 分享按钮中断了我在 Chrome 中的 SSL/HTTPS 连接。 Chrome 正在显示一个红色的 HTTPS,并在 https 上显示一个 (/) 斜杠。
它的状态:
Your connection to XXXXXXXXXX.com is encrypted with 256-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the behavior of the page.
The connection uses TLS 1.0
The connection is encrypted using AES_256_CBC, with SHA1 for message authentication and DHE_RSA as the key exchange mechanism
The connection is not compressed.
我该如何解决这个问题?下面列出了我的 Facebook 代码:
name="fb_share"
share_url="https://mysexywear.com/product_details.php?prodId=<?php echo $prodId;?>&catId=<?php echo $catId;?>"
href="https://www.facebook.com/sharer.php">Share
src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"
最佳答案
尝试使用相对协议(protocol),如下所示:
name="fb_share" share_url="//mysexywear.com/product_details.php?prodId=&catId=" href="//www.facebook.com/sharer.php">
关于Facebook 分享按钮破坏了我的 SSL/HTTPS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9556731/