Remove additional "/" from merged URLs.

Issue: #81
This commit is contained in:
Oliver Woodman 2014-10-20 16:45:56 +01:00
parent 759431048d
commit 4853611803

View File

@ -167,6 +167,7 @@ public final class Util {
return Uri.parse(stringUri);
}
if (stringUri.startsWith("/")) {
stringUri = stringUri.substring(1);
return new Uri.Builder()
.scheme(baseUri.getScheme())
.authority(baseUri.getAuthority())