OWASP / java-html-sanitizer

Takes third-party HTML and produces HTML that is safe to embed in your web application. Fast and easy to configure.
Other
833 stars 210 forks source link

Please build the Java8/10 shim classes into the sanitizer JAR #341

Open jlczuk opened 2 weeks ago

jlczuk commented 2 weeks ago

The latest release removes the Guava dependency and introduces the use of Java8 and Java10 shims. The sanitzer JAR was previously completely self-contained except for the Guava dependency. It would be very helpful if the build of the JAR could include the shim classes rather than making them external dependencies.

Currently, I am required to identify the licenses and other information related to any JAR dependencies. The current setup will no require me to get approval to use the java8-shim/java10-shim JARs as if they were separate dependencies from the sanitizer; the same thing I had to do for Guava previously.