You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by co...@apache.org on 2020/05/20 10:57:32 UTC
[camel] branch camel-2.25.x updated: Updating htmlunit due to
CVE-2020-5529
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch camel-2.25.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.25.x by this push:
new df2dc9c Updating htmlunit due to CVE-2020-5529
df2dc9c is described below
commit df2dc9c8ee4f7ceb3210391e62d8b2504799ce30
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Wed May 20 11:56:52 2020 +0100
Updating htmlunit due to CVE-2020-5529
---
.../apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java | 2 +-
parent/pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java b/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
index 1d329bf..624a297 100644
--- a/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
+++ b/components/camel-linkedin/camel-linkedin-api/src/main/java/org/apache/camel/component/linkedin/api/LinkedInOAuthRequestFilter.java
@@ -95,7 +95,7 @@ public final class LinkedInOAuthRequestFilter implements ClientRequestFilter {
this.oAuthToken = null;
// create HtmlUnit client
- webClient = new WebClient(BrowserVersion.FIREFOX_38);
+ webClient = new WebClient(BrowserVersion.FIREFOX);
final WebClientOptions options = webClient.getOptions();
options.setRedirectEnabled(true);
options.setJavaScriptEnabled(false);
diff --git a/parent/pom.xml b/parent/pom.xml
index f9d2173..0fb8de3 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -299,7 +299,7 @@
<hk2-version>2.3.0</hk2-version>
<hk2-osgi-resource-version>1.0.1</hk2-osgi-resource-version>
<hsqldb-version>2.4.1</hsqldb-version>
- <htmlunit-version>2.24</htmlunit-version>
+ <htmlunit-version>2.40.0</htmlunit-version>
<htmlunit-bundle-version>2.24_1</htmlunit-bundle-version>
<htmlunit-core-js-version>2.23</htmlunit-core-js-version>
<htrace-version>3.1.0-incubating</htrace-version>