update dependencies, update to netty 4.1.107

This commit is contained in:
Jörg Prante 2024-03-27 16:55:45 +01:00
parent 8bf1083305
commit 8ebb50faa4
3 changed files with 10 additions and 10 deletions

View file

@ -1,3 +1,3 @@
group = org.xbib
name = netty-http
version = 4.1.101.0
version = 4.1.107.0

View file

@ -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);

View file

@ -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')