packwiz / packwiz-installer

An installer for packwiz modpacks, with automatic auto-updating and optional mods! Works well with MultiMC and on servers.
https://packwiz.infra.link/
MIT License
54 stars 23 forks source link

Illegal character for a mod filename #12

Closed bolte-io closed 2 years ago

bolte-io commented 2 years ago

Hi,

When trying to launch packwiz with the mixin compability mod included, there is an error with the download. The error is:

Caused by: java.net.URISyntaxException: Illegal character in path at index 41: https://edge.forgecdn.net/files/3045/381/[___MixinCompat-0.8___].jar

I am guessing it doesn't like the [ or _s? Can this be fixed at all?

Details of mod:

name = "Mixin 0.7-0.8 Compatibility"
filename = "[___MixinCompat-0.8___].jar"
side = "both"

[download]
url = "https://edge.forgecdn.net/files/3045/381/[___MixinCompat-0.8___].jar"
hash-format = "murmur2"
hash = "89892035"

[update]
[update.curseforge]
file-id = 3045381
project-id = 405327

Thanks

comp500 commented 2 years ago

This is a known issue (#5), see https://github.com/comp500/packwiz-installer/issues/2#issuecomment-813106598 for the current workaround.

bolte-io commented 2 years ago

Thank you!