Skip to content

Commit 2b42144

Browse files
authored
Correct Guava version used for OWASP Java HTML Sanitizer (#94442)
The OWASP Java HTML Sanitizer has a dependency on Guava, specifically on version 30.1. However, prior to this PR, we have been using 27.1. While this does not seem to have caused any issues, we should still correct the problem. (cherry picked from commit f2f45ad)
1 parent a68e83a commit 2b42144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/watcher/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434

3535
// watcher deps
3636
api 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20211018.2'
37-
runtimeOnly 'com.google.guava:guava:27.1-jre' // needed by watcher for the html sanitizer
37+
runtimeOnly 'com.google.guava:guava:30.1-jre' // needed by watcher for the html sanitizer
3838
runtimeOnly 'com.google.guava:failureaccess:1.0.1'
3939
api 'com.sun.mail:jakarta.mail:1.6.4'
4040
api 'com.sun.activation:jakarta.activation:1.2.1'

0 commit comments

Comments
 (0)