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:
@ -52,7 +52,7 @@ import org.owasp.webgoat.session.WebSession;
|
||||
public class BasicAuthentication extends SequentialLessonAdapter
|
||||
{
|
||||
public final static A ASPECT_LOGO = new A().setHref("http://www.aspectsecurity.com").addElement(new IMG("images/logos/aspect.jpg").setAlt("Aspect Security").setBorder(0).setHspace(0).setVspace(0));
|
||||
|
||||
|
||||
private static final String EMPTY_STRING = "";
|
||||
|
||||
private static final String WEBGOAT_BASIC = "webgoat_basic";
|
||||
@ -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.");
|
||||
|
Reference in New Issue
Block a user