You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: urlencode filename for separate mod targets (#47)
* fix: urlencode filename for separate mod targets
When a mod's name contains characters that should be urlencoded,
any newly-uploaded versions cannot be download because of some
errors regarding the URL being invalid. Make sure the returned key
is urlencoded for consistency with the rest of the codebase.
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
* fix: urlencode version in `RenameFilename`
As per Mircea's comment on [#44 (comment)](#44 (comment)):
I've also now noticed that RenameVersion is also not correctly
escaping the filename, it's only escaping the mod's name, and
not the version, which is what causes mods that use build
metadata in the version (+build.1234) to fail, so that one
should need a similar fix of encoding the filename.
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
---------
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
0 commit comments