diff --git a/gradle.properties b/gradle.properties index 2d32bc2..f8c711c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group = org.xbib name = netty-http -version = 4.1.101.0 +version = 4.1.107.0 diff --git a/netty-http-client-api/src/main/java/org/xbib/netty/http/client/api/Request.java b/netty-http-client-api/src/main/java/org/xbib/netty/http/client/api/Request.java index 38bb1d2..211a061 100644 --- a/netty-http-client-api/src/main/java/org/xbib/netty/http/client/api/Request.java +++ b/netty-http-client-api/src/main/java/org/xbib/netty/http/client/api/Request.java @@ -657,10 +657,10 @@ public final class Request { validatedHeaders.set(headers); if (url != null) { // add our URI parameters to the URL - URLBuilder mutator = url.mutator(); - uriParameters.forEach(e -> mutator.queryParam(e.getKey(), e.getValue())); + URLBuilder builder = URL.builder(url); + uriParameters.forEach(e -> builder.queryParam(e.getKey(), e.getValue())); // calling build() performs extra percent encoding! - url = mutator.build(); + url = builder.build(); String scheme = url.getScheme(); if (httpVersion.majorVersion() == 2) { validatedHeaders.set(HttpConversionUtil.ExtensionHeaderNames.SCHEME.text(), scheme); diff --git a/settings.gradle b/settings.gradle index ef2dc1c..9bcdbca 100644 --- a/settings.gradle +++ b/settings.gradle @@ -16,9 +16,9 @@ dependencyResolutionManagement { versionCatalogs { libs { version('gradle', '8.5') - version('groovy', '4.0.16') - version('net', '4.0.3') - version('netty', '4.1.101.Final') + version('groovy', '4.0.20') + version('net', '4.3.0') + version('netty', '4.1.107.Final') version('netty-tcnative', '2.0.62.Final') library('groovy-core', 'org.codehaus.groovy', 'groovy').versionRef('groovy') library('netty-http2', 'io.netty', 'netty-codec-http2').versionRef('netty') @@ -28,14 +28,14 @@ dependencyResolutionManagement { library('netty-boringssl', 'io.netty', 'netty-tcnative-boringssl-static').versionRef('netty-tcnative') library('bouncycastle', 'org.bouncycastle', 'bcpkix-jdk18on').version('1.77') library('conscrypt', 'org.conscrypt', 'conscrypt-openjdk-uber').version('2.5.2') - library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.16.0') - library('javassist', 'org.javassist', 'javassist').version('3.29.1-GA') + library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.17.0') + library('javassist', 'org.javassist', 'javassist').version('3.30.2-GA') library('guice', 'org.xbib', 'guice').version('5.0.1.0') library('net', 'org.xbib', 'net').versionRef('net') library('net-path', 'org.xbib', 'net-path').versionRef('net') } testLibs { - version('junit', '5.10.1') + version('junit', '5.10.2') version('spock', '2.4-M1-groovy-4.0') library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit') library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')