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:
rogan.dawes
2007-07-25 12:56:51 +00:00
parent b67bb702d2
commit d9979e46ed

View File

@ -110,7 +110,7 @@ public class BasicAuthentication extends SequentialLessonAdapter
else
{
if (headerName.length() > 0
&& !headerName.equals(AUTHORIZATION))
&& !headerName.equalsIgnoreCase(AUTHORIZATION))
{
s
.setMessage("Basic Authentication header name is incorrect.");