Skip to content

Doesn't get the same URL that is provided. #1092

@fjij

Description

@fjij

If provide a modpack URL like https://media.forgecdn.net/files/3482/169/Valhelsia+3-3.4.4-SERVER.zip it replaces the + with %2B and tries to get https://media.forgecdn.net/files/3482/169/Valhelsia%2B3-3.4.4-SERVER.zip.

I can make it work by replacing it with https://media.forgecdn.net/files/3482/169/Valhelsia 3-3.4.4-SERVER.zip (note the space instead of plus).

Not sure if this is an issue or not, but I think it would make sense to just use the URL that is provided without changing it.

Environment Variables

CF_SERVER_MOD=https://media.forgecdn.net/files/3482/169/Valhelsia+3-3.4.4-SERVER.zip
MEMORY=4G
EULA=TRUE
TYPE=CURSEFORGE

Logs

[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxrwx    2 1000     1000          4096 Oct 20 02:20 /data'
[init] Resolved version given LATEST into 1.17.1
[init] Resolving type given CURSEFORGE
[init] Looking for Feed-The-Beast / CurseForge server modpack.
[init] Downloading modpack from https://media.forgecdn.net/files/3482/169/Valhelsia+3-3.4.4-SERVER.zip...
[mc-image-helper] 17:33:52.307 ERROR : Operation failed: Failed to download https://media.forgecdn.net/files/3482/169/Valhelsia%2B3-3.4.4-SERVER.zip: status code: 404, reason phrase: Not Found
[init] ERROR: failed to download modpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/ready to testAn image or docs update is ready to be tested by the reporterstatus/staleNo recently activity has been seen and will be closed soon.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions