Chrome中的EV SSL错误“不安全<;表单>;调用”


EV SSL in Chrome Error “Insecure <form> call”

我已经在我的网站上安装了EV SSL。但在铬合金中,它没有显示任何挂锁标志。

我在这里检查了网站的ssl扫描,它给出了错误

Insecure < form > call. Found on line # 2243 in file: www.smartteck.co.uk/index.html

但我不知道2243号电话是什么,我唯一的表格是在我的页脚注册的时事通讯,我看不出有任何问题。

有人能告诉我那里出了什么问题吗?

我的时事通讯代码:

<div id="subscribe-form" class="clearer">
    <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
        <div>
            <label for="newsletter"><?php echo $this->__('Newsletter') ?></label>
            <div class="input-box">
                <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
            </div>
            <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button btn-inline"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
        </div>
    </form>
</div>
<script type="text/javascript">
//<![CDATA[
    var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
    new Varien.searchForm('newsletter-validate-detail', 'newsletter', '<?php echo $this->helper('newsletter')->__('Enter your email address') ?>');
//]]>
</script>

提前谢谢。

您有一个<form-标记,该标记具有一个操作,该操作将硬编码的http://-URL作为目的地(action)。我想Chrome不会显示挂锁,因为使用此表单的用户将从https重定向到http,从而失去隐私。

在Chrome中打开网络控制台,查看那里的任何警告。

<form id="newsletter-validate-detail" method="post" action="http://www.smartteck.co.uk/newsletter/subscriber/new/">中将http更改为https,或者使用协议不可知的形式:<form id="newsletter-validate-detail" method="post" action="//www.smartteck.co.uk/newsletter/subscriber/new/">,它将适用于http和https。