Commit Graph
2 Commits
Author SHA1 Message Date
dualfroz e7bb19d447 Identify archives by content before file name
An archive renamed to another extension, such as a .tar.gz renamed to
.zip, was read as a zip inside a gzip stream and failed with "input type
must be an io.ReaderAt and io.Seeker". The format is now taken from the
contents first, and the file name is only used when they are not
recognized.

Fixes pterodactyl/panel#5728
2026-10-13 22:47:20 +02:00
upstream d8cb044658 Upstream pterodactyl/wings state of the touched files before 7f4bc20e34 2026-10-13 22:47:20 +02:00