diff --git a/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs b/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs index 31c695189..934932ae4 100644 --- a/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs +++ b/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs @@ -71,7 +71,7 @@ static CachedMavenRepository GetOrCreateRepository (MavenRepoType type, string l if (type == MavenRepoType.Directory) throw new ArgumentException ("Directory repository type not supported"); else if (type == MavenRepoType.Url) - maven = new MavenRepository (location, location); + maven = new MavenRepository (location, new Uri(location).GetComponents(UriComponents.AbsoluteUri & ~UriComponents.Scheme, UriFormat.UriEscaped)); else if (type == MavenRepoType.MavenCentral) maven = MavenRepository.Central; else