From b542127c2232de359225c5803e117ff066cd5ee4 Mon Sep 17 00:00:00 2001 From: Rick Lawson Date: Sun, 14 Sep 2014 09:38:38 -0400 Subject: [PATCH 1/7] Revert "WEB-65" This reverts commit ebae6964fa096bf3a861bfaf66e08fa74573f64d. --- src/main/webapp/WEB-INF/pages/main_new.jsp | 2 +- src/main/webapp/css/main.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/pages/main_new.jsp b/src/main/webapp/WEB-INF/pages/main_new.jsp index eacf1dbe0..a2d3c16bc 100644 --- a/src/main/webapp/WEB-INF/pages/main_new.jsp +++ b/src/main/webapp/WEB-INF/pages/main_new.jsp @@ -106,7 +106,7 @@
From 0074b7e0e4c15cd03344d09b1771e80d14e6bc23 Mon Sep 17 00:00:00 2001 From: Rick Lawson Date: Sun, 14 Sep 2014 13:18:40 -0400 Subject: [PATCH 6/7] change order of context listeners --- src/main/webapp/WEB-INF/web.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index e72732fba..5748f87ff 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -186,14 +186,14 @@ mvc-dispatcher *.mvc - - WebGoat application init - org.owasp.webgoat.application.WebGoatServletListener - Spring context init org.springframework.web.context.ContextLoaderListener + + WebGoat application init + org.owasp.webgoat.application.WebGoatServletListener + From 9bb1cb8d9cd5cf2cd8d05a77ce88f00feb410c38 Mon Sep 17 00:00:00 2001 From: Rick Lawson Date: Mon, 15 Sep 2014 08:17:40 -0400 Subject: [PATCH 7/7] WEB-68 Service to return WebGoat Version and Build Number -- add email, email list, version number and build number as parameters to about page --- .../org/owasp/webgoat/controller/Start.java | 3 ++ src/main/webapp/WEB-INF/pages/about.jsp | 41 ++++++++++--------- src/main/webapp/WEB-INF/web.xml | 9 +++- 3 files changed, 33 insertions(+), 20 deletions(-) diff --git a/src/main/java/org/owasp/webgoat/controller/Start.java b/src/main/java/org/owasp/webgoat/controller/Start.java index 89d734aef..efaa1ce5f 100644 --- a/src/main/java/org/owasp/webgoat/controller/Start.java +++ b/src/main/java/org/owasp/webgoat/controller/Start.java @@ -56,6 +56,9 @@ public class Start { String contactEmail = servletContext.getInitParameter("email"); model.addObject("contactEmail", contactEmail); + String emailList = servletContext.getInitParameter("emaillist"); + model.addObject("emailList", emailList); + Application app = Application.getInstance(); logger.info("Setting application properties: " + app); model.addObject("version", app.getVersion()); diff --git a/src/main/webapp/WEB-INF/pages/about.jsp b/src/main/webapp/WEB-INF/pages/about.jsp index 5a34019d7..cbf3a5fcf 100644 --- a/src/main/webapp/WEB-INF/pages/about.jsp +++ b/src/main/webapp/WEB-INF/pages/about.jsp @@ -10,24 +10,27 @@

WebGoat Authors @@ -86,9 +89,9 @@

Did we miss you? Our sincere apologies, as we know there have - been many contributors over the years. If your name does not - appear in any of the lists above, please send us a note. We'll - get you added with no further sacrifices required.

+ been many contributors over the years. If your name does not + appear in any of the lists above, please send us a note. We'll + get you added with no further sacrifices required.

diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 5748f87ff..9a2869c79 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -27,12 +27,19 @@ --> email - WebGoat@owasp.org + webgoat@owasp.org The EMAIL address of the administrator to whom questions and comments about this application should be addressed. + + emaillist + owasp-webgoat@lists.owasp.org + + The EMAIL address of the webgoat email list + + contextConfigLocation