Outcommented lines in XSS Lessons 3 that were causing erros

This commit is contained in:
Bene-Notebook 2018-11-27 14:48:07 +01:00 committed by Nanne Baars
parent 63502d6328
commit cfce7763f0

View File

@ -37,8 +37,8 @@ public class CrossSiteScriptingLesson3 extends AssignmentEndpoint {
//check html string for regex
//check for c:out && escapeXml="true" && !request.getParameter
Document doc = Jsoup.parse(editor);
Element e = doc.getElementById();
//Document doc = Jsoup.parse(editor);
//Element e = doc.getElementById();
System.out.println(editor);
if (editor.contains("c:out") && editor.contains("escapeXml=\"true\"") && editor.contains("value=\"${last_name}\"") && editor.contains("value=\"${first_name}\"")) {