diff --git a/.gitignore b/.gitignore index d944cc49c..a03a5fc01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,14 @@ /nb-configuration.xml -/nbactions.xml \ No newline at end of file +/nbactions.xml +/target/ +/.classpath +/.project +/.settings/.jsdtscope +/.settings/org.eclipse.jdt.core.prefs +/.settings/org.eclipse.m2e.core.prefs +/.settings/org.eclipse.wst.common.component +/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml +/.settings/org.eclipse.wst.common.project.facet.core.xml +/.settings/org.eclipse.wst.jsdt.ui.superType.container +/.settings/org.eclipse.wst.jsdt.ui.superType.name +/.settings/org.eclipse.wst.validation.prefs diff --git a/src/main/java/org/owasp/webgoat/lessons/HttpBasics.java b/src/main/java/org/owasp/webgoat/lessons/HttpBasics.java index 401d592de..2b4e1b430 100644 --- a/src/main/java/org/owasp/webgoat/lessons/HttpBasics.java +++ b/src/main/java/org/owasp/webgoat/lessons/HttpBasics.java @@ -2,9 +2,11 @@ package org.owasp.webgoat.lessons; import java.util.ArrayList; import java.util.List; + import org.apache.ecs.Element; import org.apache.ecs.ElementContainer; import org.apache.ecs.StringElement; +import org.apache.ecs.html.BR; import org.apache.ecs.html.Input; import org.owasp.webgoat.session.ECSFactory; import org.owasp.webgoat.session.WebSession; @@ -58,6 +60,7 @@ public class HttpBasics extends LessonAdapter { StringBuffer person = null; try { + ec.addElement(new BR()); ec.addElement(new StringElement(WebGoatI18N.get("EnterYourName") + ": ")); person = new StringBuffer(s.getParser().getStringParameter(PERSON, "")); diff --git a/src/main/webapp/css/main.css b/src/main/webapp/css/main.css index 986950ba5..714cf0325 100644 --- a/src/main/webapp/css/main.css +++ b/src/main/webapp/css/main.css @@ -794,4 +794,9 @@ fieldset[disabled] .btn-warning.active { padding: 3px; max-width: 200px; font-size: x-small; +} + +.info { + color:#e84c3d; + font-weight: bold; } \ No newline at end of file diff --git a/src/main/webapp/lesson_plans/English/HttpBasics.html b/src/main/webapp/lesson_plans/English/HttpBasics.html index 011fed218..f3321f295 100644 --- a/src/main/webapp/lesson_plans/English/HttpBasics.html +++ b/src/main/webapp/lesson_plans/English/HttpBasics.html @@ -8,7 +8,7 @@
How HTTP works:
-All HTTP transactions follow the same general format. Each client request and server response has three parts: the request or response line, a header section, and the entity body. The client initiates a transaction as follows:General Goal(s):
-Enter your name in the input field below and press "go" to submit. The server will accept the request, reverse the input, and display it back to the user, illustrating the basics of handling an HTTP request. +Enter your name in the input field below and press "Go!" to submit. The server will accept the request, reverse the input and display it back to the user, illustrating the basics of handling an HTTP request.