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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user