Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ const (
apkMime mimeType = "application/vnd.android.package-archive"
zipMime mimeType = "application/zip"
jarMime mimeType = "application/java-archive"
msgMime mimeType = "application/vnd.ms-outlook"
docMime mimeType = "application/msword"
)

// skipArchiverMimeTypes is a set of MIME types that should bypass archiver library processing because they are either
Expand Down Expand Up @@ -294,6 +296,8 @@ var skipArchiverMimeTypes = map[mimeType]struct{}{
tclTextMime: {},
tclMime: {},
apkMime: {},
msgMime: {},
docMime: {},
}

// selectHandler dynamically selects and configures a FileHandler based on the provided |mimetype| type and archive flag.
Expand Down
Loading