Open dragonmaus opened 2 years ago
Would also like to note that it would be nice if files refrenced by relative downloads were still hosted, even if they were targeted by the .packwizignore, so we could keep all of our pack in a single directory and not have users downloading files they're not using.
Would also like to note that it would be nice if files refrenced by relative downloads were still hosted, even if they were targeted by the .packwizignore, so we could keep all of our pack in a single directory and not have users downloading files they're not using.
This is the responsibility of whatever method you use to upload the files or otherwise set them up on the host. Packwiz doesn't have anything to do with what files are or are not hosted.
I'm referring to packwiz serve
, it does not serve files included in your .packwizignore
In pre-0.5.0 versions, the HTTP resolver would "correctly" parse relative URIs starting with
../
. Version 0.5.0 throws an IllegalArgumentException when it encounters such entries.Example:
http://example.com/packwiz-repo/config/Adorn.json5.toml
v0.4.3 resolves
url
tohttp://example.com/packwiz-repo/files/config/Adorn.json5
v0.5.0 throwsjava.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no scheme was found for ../fil...