mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
JPEG is a valid gallery file. Closes #28
This commit is contained in:
@@ -98,7 +98,7 @@ func (g *Gallery) listZipContents() ([]*zip.File, *zip.ReadCloser, error) {
|
||||
continue
|
||||
}
|
||||
ext := filepath.Ext(file.Name)
|
||||
if ext != ".jpg" && ext != ".png" && ext != ".gif" {
|
||||
if ext != ".jpg" && ext != ".jpeg" && ext != ".png" && ext != ".gif" {
|
||||
continue
|
||||
}
|
||||
if strings.Contains(file.Name, "__MACOSX") {
|
||||
|
||||
Reference in New Issue
Block a user