I have a website on which every page is served via HTTPS. On one of the pages, I have a form whose action attribute is set to a relative URL.
The page with the form can only be accessed via HTTPS, and the page of the formβs messages can only be accessed via HTTPS, but in IE I get a security warning telling me that I am going to switch to an insecure connection. Is there a way to prevent this problem that goes beyond the full URL, including protocol, in the action attribute?
Update:
I tried hard-coding the whole url and still get a popup.
Relevant Code:
<html> <body> <form action="https://mydomain.com/editProfile"> ... </form> </body> </html>
As soon as I hit the Submit button in IE6, I get a pop-up security warning. If I click βOKβ, the results page will be displayed and the protocol will still be HTTPS. I'm starting to wonder if this is causing a POST message, which is causing the problem.
source share