I was under the impression that if the form that took the info wasn't https, the data you submit got sent plaintext from your browser to the action script. Am I wrong?
The method (HTTP or HTTPS) by which your browser fetches the form from the server has necessarily nothing whatsoever to do with the method it uses to transmit the form data back to the server. Keep in mind that HTTP (and HTTPS) is a stateless protocol, and a user's seemingly long multistep interaction with the website is really a series of unrelated communications between the browser and the server.
And I said "has necessarily nothing" because there are some things your browser will carry over from one interaction to the server to the next. One is, of course, explicit state management by the use of cookies, which were invented by Netscape to allow a set of unrelated server/browser interactions to seem to a user to be a single multistep communication.
The other is the state management implicit in browsers' assumptions about site authors' use relative links in web pages. If a browser fetches a form via HTTPS and the "action" attribute of the form tag reads only as a site-relative path to the receiving script, your browser will likely assume the form's data should be returned by HTTPS. I've never seen anything in the HTML or HTTP specs that require this, though.
But if you access a page via only HTTP that contains a form with an "action" attribute beginning "
then it doesn't matter how the form got to your computer: when you submit the form the data is going back encrypted.
Want to ask the best questions? Read Eric S. Raymond's essay "
How To Ask Questions The Smart Way". TANSTAAFL!