Fix more places where the email address was hard-coded
git-svn-id: http://webgoat.googlecode.com/svn/trunk@208 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
6de7bd9ec9
commit
b67bb702d2
@ -141,7 +141,7 @@ public class LessonSource extends HammerHead
|
||||
}
|
||||
if (source == null)
|
||||
{
|
||||
return "Source code is not available. Contact webgoat@g2-inc.com";
|
||||
return "Source code is not available. Contact " + s.getWebgoatContext().getFeedbackAddress();
|
||||
}
|
||||
return (source.replaceAll("(?s)" + START_SOURCE_SKIP + ".*"
|
||||
+ END_SOURCE_SKIP, "Code Section Deliberately Omitted"));
|
||||
|
@ -544,11 +544,6 @@ public abstract class AbstractLesson extends Screen implements Comparable
|
||||
|
||||
Head head = new Head();
|
||||
head.addElement(new Title(getSourceFileName()));
|
||||
head.addElement(new StringElement(
|
||||
"<meta name=\"Author\" content=\"Bruce Mayhew\">"));
|
||||
head
|
||||
.addElement(new StringElement(
|
||||
"<link rev=\"made\" href=\"mailto:webgoat@g2-inc.com\">"));
|
||||
|
||||
Body body = new Body();
|
||||
body.addElement(new StringElement(src));
|
||||
|
@ -52,7 +52,7 @@ public class WebgoatContext {
|
||||
|
||||
private boolean enterprise = false;
|
||||
|
||||
private String feedbackAddress = "<A HREF=mailto:webgoat@g2-inc.com>webgoat@g2-inc.com</A>";
|
||||
private String feedbackAddress = "<A HREF=mailto:webgoat@owasp.org>webgoat@owasp.org</A>";
|
||||
|
||||
private boolean isDebug = false;
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
<context-param>
|
||||
<param-name>email</param-name>
|
||||
<param-value>WebGoat@g2-inc.com</param-value>
|
||||
<param-value>WebGoat@owasp.org</param-value>
|
||||
<description>
|
||||
The EMAIL address of the administrator to whom questions
|
||||
and comments about this application should be addressed.
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
<context-param>
|
||||
<param-name>email</param-name>
|
||||
<param-value>WebGoat@g2-inc.com</param-value>
|
||||
<param-value>WebGoat@owasp.org</param-value>
|
||||
<description>
|
||||
The EMAIL address of the administrator to whom questions
|
||||
and comments about this application should be addressed.
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
<context-param>
|
||||
<param-name>email</param-name>
|
||||
<param-value>WebGoat@g2-inc.com</param-value>
|
||||
<param-value>WebGoat@owasp.org</param-value>
|
||||
<description>
|
||||
The EMAIL address of the administrator to whom questions
|
||||
and comments about this application should be addressed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user