UriUtils: fix issue with encoded colon in netloc

This commit is contained in:
dece 2022-01-09 23:08:52 +01:00
parent 809db8f324
commit da3a9f4c75

View file

@ -36,7 +36,7 @@ fun joinUrls(base: String, relative: String): Uri {
)
return Uri.Builder()
.scheme(baseUri.scheme)
.authority(baseUri.authority)
.encodedAuthority(baseUri.authority)
.path(newPath)
.query(relUri.query)
.fragment(relUri.fragment)