mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +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;
|
HttpGet get = null;
|
||||||
for (DownloadTask apply : applies) {
|
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);
|
callback.stateChanged(apply.apply,0L, apply.size);
|
||||||
LogHelper.debug("Download URL: %s", u.toString());
|
LogHelper.debug("Download URL: %s", u.toString());
|
||||||
if (get == null) get = new HttpGet(u);
|
if (get == null) get = new HttpGet(u);
|
||||||
|
|
Loading…
Reference in a new issue