About Question enthuware.jwpv6.2.921 :

Moderator: admin

Post Reply
gurpreet_asrgndu
Posts: 55
Joined: Thu Jan 03, 2013 7:51 am
Contact:

About Question enthuware.jwpv6.2.921 :

Post by gurpreet_asrgndu »

the explanation says that http method in form method attribute must be POST. is POST mandatory ??

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.921 :

Post by admin »

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.

sheunis
Posts: 1
Joined: Mon Sep 16, 2013 1:37 pm
Contact:

Re: About Question enthuware.jwpv6.2.921 :

Post by sheunis »

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?

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.921 :

Post by admin »

Yes, password would be preferable here, but it is not an error if it is text.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests