• 请不要在回答技术问题时复制粘贴 AI 生成的内容
letianqiu
V2EX  ›  程序员

百度 HSTS 出问题了?

  •  
  •   letianqiu · Oct 18, 2016 · 4790 views
    This topic created in 3668 days ago, the information mentioned may be changed or developed.
    IE 和 chrome 下访问 www.baidu.com 不再跳转到 443 , firefox 下正常。有遇到同样问题的吗?
    16 replies  •  2016-10-19 23:16:17 +08:00
    mikicomo
    mikicomo
    Oct 18, 2016
    1
    正常 上海电信
    codespots
    codespots
    Oct 18, 2016
    2
    昨天遇到了,然后今天我把 chrome 更新了,解决了
    redsonic
    redsonic
    Oct 18, 2016
    3
    @westooy 这和浏览器有关? chrome 自带的 HSTS 就没有 baidu.com
    xingo
    xingo
    Oct 18, 2016 via Android
    4
    上海电信劫持了,可以看看 form 里面多了个 tn 的 input[type=hidden],多刷新几次,就跳回到 https 了
    mind3x
    mind3x
    Oct 18, 2016 via Android
    5
    @redsonic hsts 是网站自己声明,然后浏览器保存设置,不是浏览器自带列表
    richard1122
    richard1122
    Oct 18, 2016
    6
    @mind3x https://hstspreload.appspot.com/ 也可以提交列表里让浏览器内置
    contactfront
    contactfront
    Oct 18, 2016
    7
    同
    Chrome beta v54 不跳转
    Firefox v50 跳转
    redsonic
    redsonic
    Oct 18, 2016
    8
    @redsonic 那么 chrome 旧版不支持站点传来的 HSTS ,新版的支持? 不会吧,印象中 baidu 也不传相关信息,而且传了也没意义,前边被运营商抢答了也是没用。目前感觉还是内置的 hardcode 比较好, v2ex.com 就在里面。
    luojiyin87
    luojiyin87
    Oct 18, 2016
    9
    这么多天来,第一次点百度,正常。
    letianqiu
    letianqiu
    OP
    Oct 18, 2016
    10
    @contactfront 目前我正常了。我是 chrome 54 的 stable 。
    @xingo 劫持为什么 firefox 却是正常的?不是应该所有浏览器都不正常吗?
    mind3x
    mind3x
    Oct 19, 2016
    11
    @richard1122 学习了
    xingo
    xingo
    Oct 19, 2016
    12
    @letianqiu 劫持是 你第一次进去 他会提前返回包 ,短时间第二次进去 他就不会劫持了啊
    realpg
    realpg
    Oct 19, 2016
    13
    是不是 chrome 53 ?

    chrome 53 我遇到了超过 15 个超级严重的大 bug ……
    letianqiu
    letianqiu
    OP
    Oct 19, 2016
    14
    @xingo 真不是这种情况。 chrome 和 IE 每次都不正常。无论刷新多少次。 firefox 始终是正常的
    xingo
    xingo
    Oct 19, 2016
    15
    @letianqiu 情况不同咯,劫持不劫持可以看右上角的更多产品,没有劫持的话 右上角的更多产品 hover 上去是会显示列表的


    ![被劫持]( https://ooo.0o0.ooo/2016/10/19/580712dd5e74e.png)
    ![正常]( https://ooo.0o0.ooo/2016/10/19/580712dd4513f.png)
    lslqtz
    lslqtz
    Oct 19, 2016
    16
    @mind3x HSTS 是可以自带列表的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2883 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 13:17 · PVG 21:17 · LAX 05:17 · JFK 08:17
    ♥ Do have faith in what you're doing.