diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 37c7723..d644333 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,17 +1,17 @@ [versions] -coroutines = "1.7.3" +kotlin = "2.0.21" +coroutines = "1.9.0" dependency-check = "10.0.3" sonarqube = "5.1.0.4882" -kotlin = "1.9.21" spotless = "6.25.0" -nimbus-sdk = "11.6" -ktor = "2.3.6" -jsoup = "1.18.1" +nimbus-sdk = "11.20.1" +ktor = "3.0.1" +jsoup = "1.18.3" java = "17" ktlint = "0.50.0" dokka = "1.9.20" maven-publish = "0.29.0" -logback = "1.5.6" +logback = "1.5.12" binary-compatibility-validator = "0.16.3" [libraries] diff --git a/src/main/kotlin/eu/europa/ec/eudi/rqes/internal/DefaultAuthorizationServerMetadataResolver.kt b/src/main/kotlin/eu/europa/ec/eudi/rqes/internal/DefaultAuthorizationServerMetadataResolver.kt index fb07098..187f17e 100644 --- a/src/main/kotlin/eu/europa/ec/eudi/rqes/internal/DefaultAuthorizationServerMetadataResolver.kt +++ b/src/main/kotlin/eu/europa/ec/eudi/rqes/internal/DefaultAuthorizationServerMetadataResolver.kt @@ -111,7 +111,7 @@ private fun HttpsUrl.metadataUrl(metadata: String, lookup: Lookup): Url { return when (lookup) { Lookup.BySpecification -> URLBuilder(issuer).apply { - path("/${metadata.removePrefix("/").removeSuffix("/")}${issuer.pathSegments.joinToString("/")}") + path("/${metadata.removePrefix("/").removeSuffix("/")}${issuer.rawSegments.joinToString("/")}") }.build() Lookup.CommonDeviation ->