【发布时间】:2011-12-06 09:24:50
【问题描述】:
我正在尝试使用下面的表单为我正在开发的应用程序进行用户注册和登录。
<html><form method="get" action="login">
Email Address: <input name="email" type="text"><br/>
Password: <input name="password" type="password"><br/>
<input type="submit" value="Submit" />
</form>
</html>
但是用户名和密码会显示在 url 中,提交按钮也是如此。
http://localhost:8080/login?email=123&password=123&submit=Submit
如何阻止这种情况发生?
【问题讨论】:
标签: python html forms passwords cherrypy