This commit is contained in:
huanghongxun 2020-01-14 10:17:46 +08:00
parent 084b15e113
commit acda1952ca

View File

@ -84,7 +84,7 @@ public final class CurseManifestFile implements Validation {
public URL getUrl() {
return url == null ? NetworkUtils.toURL("https://www.curseforge.com/minecraft/mc-mods/" + projectID + "/download/" + fileID + "/file")
: NetworkUtils.toURL(url);
: NetworkUtils.toURL(NetworkUtils.encodeLocation(url));
}
public CurseManifestFile withFileName(String fileName) {