From 27c422403017ee207550fccb1fb4fc3e4d0ee1ac Mon Sep 17 00:00:00 2001 From: Gravit Date: Fri, 26 Apr 2019 08:08:51 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20UrlEncode=20=D1=81=D0=B8=D0=BC?= =?UTF-8?q?=D0=B2=D0=BE=D0=BB=D0=B0=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launcher/downloader/ListDownloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LauncherAPI/src/main/java/ru/gravit/launcher/downloader/ListDownloader.java b/LauncherAPI/src/main/java/ru/gravit/launcher/downloader/ListDownloader.java index 0a89d2f4..2b56f0f4 100644 --- a/LauncherAPI/src/main/java/ru/gravit/launcher/downloader/ListDownloader.java +++ b/LauncherAPI/src/main/java/ru/gravit/launcher/downloader/ListDownloader.java @@ -48,7 +48,7 @@ public void download(String base, List applies, Path dstDirFile, D HttpGet get = null; for (DownloadTask apply : applies) { - URI u = new URL(base.concat(IOHelper.urlEncode(apply.apply))).toURI(); + URI u = new URL(base.concat(IOHelper.urlEncode(apply.apply).replace("%2F", "/"))).toURI(); callback.stateChanged(apply.apply,0L, apply.size); LogHelper.debug("Download URL: %s", u.toString()); if (get == null) get = new HttpGet(u);