About Question enthuware.jwpv6.2.921 :
Moderator: admin
-
- Posts: 55
- Joined: Thu Jan 03, 2013 7:51 am
- Contact:
About Question enthuware.jwpv6.2.921 :
the explanation says that http method in form method attribute must be POST. is POST mandatory ??
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.921 :
The specification doesn't mention explicitly that it must be POST but the example they have given shows POST and some containers we checked in the past didn't work with GET.
So, I would go with POST but your doubt is valid. The specification is not 100% clear on this.
HTH,
Paul.
So, I would go with POST but your doubt is valid. The specification is not 100% clear on this.
HTH,
Paul.
-
- Posts: 1
- Joined: Mon Sep 16, 2013 1:37 pm
- Contact:
Re: About Question enthuware.jwpv6.2.921 :
Shouldn't this really be:
<form method=POST action="j_security_check">
<input type="text" name="j_username">
<input type="password" name="j_password">
<input type=submit>
</form>
otherwise you're displaying the password in cleartext in the form?
<form method=POST action="j_security_check">
<input type="text" name="j_username">
<input type="password" name="j_password">
<input type=submit>
</form>
otherwise you're displaying the password in cleartext in the form?
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.921 :
Yes, password would be preferable here, but it is not an error if it is text.
HTH,
Paul.
HTH,
Paul.
Who is online
Users browsing this forum: No registered users and 6 guests