File tree Expand file tree Collapse file tree 3 files changed +1
-10
lines changed
Expand file tree Collapse file tree 3 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ Open the web application in your browser at http://localhost:8080/OutputEscaping
2121 <artifactId >esapi</artifactId >
2222 <version >2.0.1</version >
2323 </dependency >
24- <dependency >
25- <groupId >org.apache.commons</groupId >
26- <artifactId >commons-lang3</artifactId >
27- <version >3.1</version >
28- </dependency >
2924 </dependencies >
3025
3126 <build >
Original file line number Diff line number Diff line change 2020 </table >
2121 </form >
2222
23- <h2 >With Output-Escaping (ESAPI and Apache Commons )</h2 >
23+ <h2 >With Output-Escaping (ESAPI)</h2 >
2424
2525 <form name =" withOutputEscaping" method =" post" action =" withOutputEscaping.jsp" >
2626 <table >
Original file line number Diff line number Diff line change 99 <h1 >ESAPI</h1 >
1010 <%@ page import =" org.owasp.esapi.ESAPI" %>
1111 <strong >Hello</strong > <%= ESAPI . encoder(). encodeForHTML(request. getParameter(" name" )) % >
12-
13- <h1 >Apache Commons</h1 >
14- <%@ page import =" org.apache.commons.lang3.StringEscapeUtils" %>
15- <strong >Hello</strong > <%= StringEscapeUtils . escapeHtml4(request. getParameter(" name" )) % >
1612</body >
1713</html >
You can’t perform that action at this time.
0 commit comments