From 265c56b3026be5ad20284ed724f483582aa5f255 Mon Sep 17 00:00:00 2001 From: esheri3 Date: Tue, 23 Jan 2007 19:11:32 +0000 Subject: [PATCH] Fixed a bug which caused the RoleBasedAccessControl_i class to be instantiated and inserted into the navigation menu. git-svn-id: http://webgoat.googlecode.com/svn/trunk@78 4033779f-a91e-0410-96ef-6bf7bf53c507 --- .../project/JavaSource/org/owasp/webgoat/session/Course.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ webgoat/main/project/JavaSource/org/owasp/webgoat/session/Course.java b/ webgoat/main/project/JavaSource/org/owasp/webgoat/session/Course.java index e11c06aee..0f1b29a3a 100644 --- a/ webgoat/main/project/JavaSource/org/owasp/webgoat/session/Course.java +++ b/ webgoat/main/project/JavaSource/org/owasp/webgoat/session/Course.java @@ -355,7 +355,7 @@ public class Course String file = (String)itr.next(); String className = getClassFile(file, path); - if(className != null) + if(className != null && !className.endsWith("_i")) { try {