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:
rogan.dawes
2007-07-25 12:56:35 +00:00
parent 6de7bd9ec9
commit b67bb702d2
6 changed files with 5 additions and 10 deletions

View File

@ -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"));