https是否保留在相对表单操作URL上? [英] Is https retained on relative form action URLs?

查看:93
本文介绍了https是否保留在相对表单操作URL上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑具有通过https访问的表单的页面.如果表单操作具有指向表单页面的相对URL,是否保留https协议?

Consider a page with a form that is visited via https. If the form action has a relative URL to the form page, is the https protocol retained?

例如:您访问:

https://example.com/cart.html

其中包含表单标签:

<form name="form1" method="post" action="SubmitOrder.aspx" id="form1">

表单是通过https还是http提交的?

Is the form submitted via https or http?

推荐答案

是的,因为它是相对路径.

Yes, because it's a relative path.

这篇关于https是否保留在相对表单操作URL上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆