patch to fix a last minute typo and an unwanted import statement

git-svn-id: http://webgoat.googlecode.com/svn/trunk@29 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
sherif.fathy 2006-11-03 02:50:12 +00:00
parent 6a59cd6e6e
commit fae3c3f047
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ import org.owasp.webgoat.session.WebSession;
import org.apache.ecs.ElementContainer; import org.apache.ecs.ElementContainer;
import org.apache.ecs.html.Input; import org.apache.ecs.html.Input;
import org.apache.ecs.html.P;
import org.apache.ecs.html.TD; import org.apache.ecs.html.TD;
import org.apache.ecs.html.TR; import org.apache.ecs.html.TR;
import org.apache.ecs.html.Table; import org.apache.ecs.html.Table;

View File

@ -1117,7 +1117,7 @@ public class WebSession
public void setHasHackableConfig ( String url) public void setHasHackableConfig ( String url)
{ {
if ( config.indexOf("config") >= 0) if ( url.indexOf("config") >= 0)
{ {
completedHackableConfig = true; completedHackableConfig = true;
} }