Skip to content

Commit 13a95c3

Browse files
committed
WEB-146 - fixed some code references to English, not reference en
1 parent d07e52d commit 13a95c3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/org/owasp/webgoat/lessons/AbstractLesson.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public abstract class AbstractLesson extends Screen implements Comparable<Object
114114

115115
private LinkedList<String> availableLanguages = new LinkedList<String>();
116116

117-
private String defaultLanguage = "English";
117+
private String defaultLanguage = "en";
118118

119119
/**
120120
* Constructor for the Lesson object

src/main/java/org/owasp/webgoat/lessons/CommandInjection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected Element createContent(WebSession s)
123123
illegalCommand = false;
124124
}
125125
}
126-
File safeDir = new File(s.getContext().getRealPath("/lesson_plans/English"));
126+
File safeDir = new File(s.getContext().getRealPath("/lesson_plans/en"));
127127

128128
ec.addElement(new StringElement(WebGoatI18N.get("YouAreCurrentlyViewing")+"<b>"
129129
+ (helpFile.toString().length() == 0 ? "&lt;"+WebGoatI18N.get("SelectFileFromListBelow")+"&gt;" : helpFile.toString())

src/main/java/org/owasp/webgoat/lessons/PathBasedAccessControl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected Element createContent(WebSession s)
6767

6868
try
6969
{
70-
String dir = s.getContext().getRealPath("/lesson_plans/English");
70+
String dir = s.getContext().getRealPath("/lesson_plans/en");
7171
File d = new File(dir);
7272

7373
Table t = new Table().setCellSpacing(0).setCellPadding(2).setWidth("90%").setAlign("center");

0 commit comments

Comments
 (0)