Hi, I have added the maven repository for Html sanitizer. How to apply HTML Sanitizer into my existing project? How to configure to my project.Please guide me.
--
You received this message because you are subscribed to the Google Groups "OWASP Java HTML Sanitizer Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to owasp-java-html-saniti...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/94103b27-357d-4e3a-bd46-91a38b17b68co%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/CACod6GtKPSmpZ7DwOT%2BN6-JOgeFDa0fCtYk1NczFyRU%2BRte5KQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/CAF2SRNf5gW0xi54x3z-NO6b1rkRf70bB2bU7Lwwi1Sr%2BogqhLg%40mail.gmail.com.
On Jun 12, 2020, at 1:33 PM, Mike Samuel <mikes...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/CACod6GtozN0V11eLOBa2BDJcxMRjm4wcObcENQZRw7wsrZBfNA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/7586271C-5FB3-401C-818C-CFAF81CA6677%40owasp.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/CACod6GtozN0V11eLOBa2BDJcxMRjm4wcObcENQZRw7wsrZBfNA%40mail.gmail.com.
Web.xml
<!-- Cross Site Request Forgery Implementation OWASP Begin-->
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardServletContextListener</listener-class>
</listener>
<listener>
<listener-class>org.owasp.csrfguard.CsrfGuardHttpSessionListener</listener-class>
</listener>
<filter>
<filter-name>CSRFGuard</filter-name>
<filter-class>org.owasp.csrfguard.CsrfGuardFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>CSRFGuard</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>JavaScriptServlet</servlet-name>
<servlet-class>org.owasp.csrfguard.servlet.JavaScriptServlet</servlet-class>
<init-param>
<param-name>inject-into-attributes</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>JavaScriptServlet</servlet-name>
<url-pattern>/JavaScriptServlet</url-pattern>
</servlet-mapping>
<!-- Cross Site Request Forgery Implementation OWASP End -->
<script src="/JavaScriptServlet"> </script>
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/CAF2SRNewvWn87VhEuYGND%3D8hRjfQry3p-kC5racYt9VizuHKCw%40mail.gmail.com.
Hi Jim,As per my understanding I need to generate the token for each action. There is no specific list. Please find the attached file for reference. Could you please advise how to implement this in my application.Thanks,Ravi
To view this discussion on the web visit https://groups.google.com/d/msgid/owasp-java-html-sanitizer-support/2703246B-3EE2-46FA-B88B-E6E10DA15EBC%40owasp.org.