Chrome doesn't create cookie for domain=localhost in broken https

后端 未结 4 1578
耶瑟儿~
耶瑟儿~ 2020-12-08 22:43

I have application on my localhost in https. But the certification on localhost is broken.

Below, response header. Problem: MyCookie is not created:

         


        
4条回答
  •  离开以前
    2020-12-08 23:29

    I guess the easiest workaround for this is to add an entry to the hosts file, like

    127.0.0.1    localhost.com    
    

    and then calling http://localhost.com/ instead of just localhost.

    but having said that, this restriction is ridiculous IMO.

提交回复
热议问题