From a874d61db96ed262b3346046ff9222697891773f Mon Sep 17 00:00:00 2001 From: Trevor SIbanda Date: Sun, 12 Feb 2017 11:50:01 +0200 Subject: Urlencode owner --- stage1/cbt.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage1') diff --git a/stage1/cbt.scala b/stage1/cbt.scala index 0b0ccbf..8520be4 100644 --- a/stage1/cbt.scala +++ b/stage1/cbt.scala @@ -12,7 +12,7 @@ object `package`{ val mavenCentral = new URL("https://repo1.maven.org/maven2") val jcenter = new URL("https://jcenter.bintray.com") - def bintray(owner: String) = new URL(s"https://dl.bintray.com/$owner/maven") // FIXME: url encode owner + def bintray(owner: String) = new URL(s"""https://dl.bintray.com/${URLEncoder.encode(owner, "UTF-8")}/maven""") private val sonatypeBase = new URL("https://oss.sonatype.org/content/repositories/") val sonatypeReleases = sonatypeBase ++ "releases" val sonatypeSnapshots = sonatypeBase ++ "snapshots" -- cgit v1.2.3