Launcher icon indicating copy to clipboard operation
Launcher copied to clipboard

Some URLs are not decoded correctly when importing a modpack

Open diskria opened this issue 2 years ago • 0 comments

Operating System

Linux

Description of bug

I'm trying to import a modpack that contains a resource pack with the following pw.toml:

name = "Model Optimizations & Fixes"
filename = "Model Optimizations & Fixes.zip"
side = "client"

[download]
url = "https://cdn.modrinth.com/data/xq2isoUl/versions/19ZrpaqL/Model%20Optimizations%20%26%20Fixes.zip"

hash-format = "sha1"
hash = "8d9efc58c7ea6cd8ad0ab86e5b28b66f123351b3"

[update]
[update.modrinth]
mod-id = "xq2isoUl"
version = "19ZrpaqL"

MultiMC works unstable with such links. I'm getting an error with this, but the second time the download was successful.

Here are the logs:

MultiMC-0.log

Steps to reproduce

You can import this modpack. There will be an error the first time. next time everything will be fine

Suspected cause

I think the problem is with the spaces in URL... but I don’t really understand why the Google Chrome can download such a file, but MultiMC can’t.

This issue is unique

  • [X] I have searched the issue tracker and did not find an issue describing my bug.

diskria avatar Jan 05 '24 16:01 diskria