mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Исправление UrlEncode символа /
This commit is contained in:
parent
d7351ce474
commit
27c4224030
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ public void download(String base, List<DownloadTask> 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);
|
||||
|
|
Loading…
Reference in a new issue