Another place where we need to compare without case
git-svn-id: http://webgoat.googlecode.com/svn/trunk@209 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -110,7 +110,7 @@ public class BasicAuthentication extends SequentialLessonAdapter
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (headerName.length() > 0
|
if (headerName.length() > 0
|
||||||
&& !headerName.equals(AUTHORIZATION))
|
&& !headerName.equalsIgnoreCase(AUTHORIZATION))
|
||||||
{
|
{
|
||||||
s
|
s
|
||||||
.setMessage("Basic Authentication header name is incorrect.");
|
.setMessage("Basic Authentication header name is incorrect.");
|
||||||
|
Reference in New Issue
Block a user