UriUtils: fix issue with encoded colon in netloc
This commit is contained in:
parent
809db8f324
commit
da3a9f4c75
|
@ -36,7 +36,7 @@ fun joinUrls(base: String, relative: String): Uri {
|
||||||
)
|
)
|
||||||
return Uri.Builder()
|
return Uri.Builder()
|
||||||
.scheme(baseUri.scheme)
|
.scheme(baseUri.scheme)
|
||||||
.authority(baseUri.authority)
|
.encodedAuthority(baseUri.authority)
|
||||||
.path(newPath)
|
.path(newPath)
|
||||||
.query(relUri.query)
|
.query(relUri.query)
|
||||||
.fragment(relUri.fragment)
|
.fragment(relUri.fragment)
|
||||||
|
|
Reference in a new issue