我们最近切换到 HTTPS,当提交我们的一份表单时,Firefox 会弹出:
Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.
Are you sure you want to continue sending this information?
选择"is"后,表单会提交并且页面会重新加载,但信息实际上并未发布?
我错过了什么吗?
最佳答案
基本上,这意味着:
<form action="http://www..."
必须更改为
<form action="https://www..."
因为我们没有提交到安全 URL。
关于https - PHP、HTTPS、表单提交,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5372964/