Added bug report
Added message for missing solutions Minor edits to lesson plans git-svn-id: http://webgoat.googlecode.com/svn/trunk/webgoat@353 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
@ -152,7 +152,7 @@ public class LessonSource extends HammerHead
|
||||
}
|
||||
}
|
||||
if (source == null) { return "Source code is not available. Contact "
|
||||
+ s.getWebgoatContext().getFeedbackAddress(); }
|
||||
+ s.getWebgoatContext().getFeedbackAddressHTML(); }
|
||||
return (source.replaceAll("(?s)" + START_SOURCE_SKIP + ".*" + END_SOURCE_SKIP,
|
||||
"Code Section Deliberately Omitted"));
|
||||
}
|
||||
@ -175,7 +175,7 @@ public class LessonSource extends HammerHead
|
||||
}
|
||||
}
|
||||
if (source == null) { return "Solution is not available. Contact "
|
||||
+ s.getWebgoatContext().getFeedbackAddress(); }
|
||||
+ s.getWebgoatContext().getFeedbackAddressHTML(); }
|
||||
return (source);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user