When creating an archive starting from a subdirectory instead of the root of a server's filesystem, the walker would treat the paths as if they where relative to the parent of the subdirectory, instead of as descendants of the subdirectory. Fixes https://github.com/pterodactyl/panel/issues/5030
Filesystem
Licensing
Most code in this package is licensed under MIT with some exceptions.
The following files are licensed under BSD-3-Clause due to them being copied
verbatim or derived from Go's source code.
These changes are not associated with nor endorsed by The Go Authors.