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?
Ex: you visit:
https://example.com/cart.html
which contains the form tag:
<form name="form1" method="post" action="SubmitOrder.aspx" id="form1">
Is the form submitted via https or http?
Yes, because it's a relative path.
Yes, relative paths always stay. Direct URLs are only needed when switching between http/https or vice versa.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With