From d8e59df8af6e9d1ee86a4098d3b0d2b10c1cdc36 Mon Sep 17 00:00:00 2001 From: Miguel Pellicer Date: Tue, 21 Feb 2023 17:21:41 +0100 Subject: [PATCH] SAK-48591 Upgrade JSOUP from 1.14.2 to 1.15.4 --- .../main/java/org/sakaiproject/util/impl/FormattedTextImpl.java | 2 +- master/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/kernel-impl/src/main/java/org/sakaiproject/util/impl/FormattedTextImpl.java b/kernel/kernel-impl/src/main/java/org/sakaiproject/util/impl/FormattedTextImpl.java index 2e7bff28289b..9b15118556ec 100644 --- a/kernel/kernel-impl/src/main/java/org/sakaiproject/util/impl/FormattedTextImpl.java +++ b/kernel/kernel-impl/src/main/java/org/sakaiproject/util/impl/FormattedTextImpl.java @@ -1335,7 +1335,7 @@ public String stripHtmlFromText(String text, boolean smartSpacing, boolean strip //  are converted to char code 160, java doesn't treat it like whitespace, so replace it with ' ' text = text.replace((char)160, ' '); } else { - text = org.jsoup.Jsoup.clean(text, "", org.jsoup.safety.Whitelist.none(), new org.jsoup.nodes.Document.OutputSettings().prettyPrint(false).outline(false)); + text = org.jsoup.Jsoup.clean(text, "", org.jsoup.safety.Safelist.none(), new org.jsoup.nodes.Document.OutputSettings().prettyPrint(false).outline(false)); } if (smartSpacing || stripEscapeSequences) { diff --git a/master/pom.xml b/master/pom.xml index a09e7284e5df..a92f07bfe0d2 100644 --- a/master/pom.xml +++ b/master/pom.xml @@ -48,7 +48,7 @@ 1.0.0 5.3.0 2.14.1 - 1.14.2 + 1.15.4 6.5.0 4.2.1 3.1.0