diff --git a/para-core/src/main/java/com/erudika/para/core/utils/Utils.java b/para-core/src/main/java/com/erudika/para/core/utils/Utils.java
index 9209cc47..55663fca 100644
--- a/para-core/src/main/java/com/erudika/para/core/utils/Utils.java
+++ b/para-core/src/main/java/com/erudika/para/core/utils/Utils.java
@@ -48,7 +48,6 @@
import java.lang.reflect.Modifier;
import java.math.BigDecimal;
import java.math.RoundingMode;
-import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
@@ -564,7 +563,7 @@ private Boolean isIgnoredDomain(String value) {
try {
var href = new URI(value).toURL();
return Arrays.binarySearch(Para.getConfig().markdownAllowFollowDomains(), href.getHost()) >= 0;
- } catch (MalformedURLException | URISyntaxException e) {
+ } catch (Exception e) {
return false;
}
}
@@ -815,7 +814,7 @@ private static URL toURL(String url) {
URL u;
try {
u = new URI(url).toURL();
- } catch (MalformedURLException | URISyntaxException e) {
+ } catch (Exception e) {
// the URL is not in a valid form
u = null;
}
diff --git a/pom.xml b/pom.xml
index 02ebf088..d7851ab8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,8 +76,8 @@
false
${skipTests}
${skipTests}
- 3.1.1
- 2.0.13
+ 3.1.3
+ 2.0.16
1.5.3
[2.21.23,)
3.1.6
@@ -88,7 +88,7 @@
1.16.1
1.48.1
1.48.1
- 5.10.2
+ 5.11.2
1.10.2
@@ -97,7 +97,7 @@
org.mockito
mockito-core
- 5.11.0
+ 5.14.1
test
@@ -119,7 +119,7 @@
org.apache.maven.plugins
maven-failsafe-plugin
- 3.2.5
+ 3.5.1
@@ -139,7 +139,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 3.2.5
+ 3.5.1
org.apache.maven.surefire
@@ -179,7 +179,7 @@
org.apache.maven.plugins
maven-release-plugin
- 3.0.1
+ 3.1.1
true
forked-path
@@ -192,7 +192,7 @@
org.sonatype.plugins
nexus-staging-maven-plugin
- 1.6.13
+ 1.7.0
true
ossrh
@@ -210,7 +210,7 @@
org.sonarsource.scanner.maven
sonar-maven-plugin
- 3.11.0.3922
+ 4.0.0.4121
@@ -243,7 +243,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.6.3
+ 3.10.1
attach-javadocs
@@ -266,7 +266,7 @@
org.apache.maven.plugins
maven-gpg-plugin
- 3.2.2
+ 3.2.7
sign-artifacts
@@ -294,7 +294,7 @@
org.pitest
pitest-maven
- 1.4.2
+ 1.17.0
@@ -333,7 +333,7 @@
org.pitest
pitest-maven
- 1.4.2
+ 1.17.0