1

提交了一个登录表单,当我尝试转储值时,表单结构在 IE 中为空,但在 FF 或 Chrome 中不是。这是在使用 HTTPS 和企业自签名证书的 DEV 环境中。

我真的不认为这与 Fusebox 相关,但它是我正在使用的框架。在这件事上别无选择,因为它是遗留代码,也没有预算来改变它,所以请不要建议我继续前进。

我发现在 IE 中它不喜欢表单操作的格式:

/directory/index.cfm?fuseaction=app.Security

相反,它想要一个完全合格的动作

https://www.mycompany.com/directory/index.cfm?fuseaction=app.Security

<form action="/directory/index.cfm?fuseaction=app.Security" name="loginForm" id="loginForm" method="post">
  <div style="width:55%;" align="center" id="fieldset">
    <fieldset class="border" style="width:70%;">
        <legend>Login</legend>
        <div style="padding:2%">
            <label for="userID">User ID: <span id="error1" class="redbold" aria-live="assertive"></span> </label>
        </div>
        <div>
            <span class="required">*</span>&nbsp;<input type="text" name="userID" id="userID" size="32" maxlength="8" value="" />
        </div>
        <div style="padding:2%">
            <label for="pw">Password: <span id="error2" class="redbold" aria-live="assertive"></span></label>
        </div>
        <div>
            <span class="required">*</span>&nbsp;<input type="password" name="pw" id="pw" size="32" maxlength="20" value="" />
        </div>
        <div style="padding:2%" id="formButtons">
            <input type="submit" value="Login" class="buttonfield" title="Login to eAgenda" />
            <span style="padding-left:5%; margin-left:5%">
                <input type="reset" value="Clear" class="buttonfield" title="Clear" />
            </span>
            <div id="errorMsg">
                <p>
                    <span class="redbold"></span>
                </p>
            </div>
        </div>
        <span class="required">*</span>Mandatory field
    </fieldset>
  </div>
</form>
4

1 回答 1

4

最后它是<base href="http://..."/>标题中的一个标签。删除或使其成为 https 解决了这个问题。

于 2019-05-15T16:41:08.163 回答