From bffb095b57fe1c6933f64a7bbd3f29b3398bb87e Mon Sep 17 00:00:00 2001 From: Azareal Date: Fri, 1 Nov 2019 09:34:50 +1000 Subject: [PATCH] Add zipx, kgb, pea, xz and zz archive formats. --- common/common.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/common.go b/common/common.go index 1c07f7de..e9bb1e4a 100644 --- a/common/common.go +++ b/common/common.go @@ -65,16 +65,16 @@ var AllowedFileExts = StringList{ "otf", "woff2", "woff", "ttf", "eot", // fonts - "bz2", "zip", "gz", "7z", "tar", "cab","rar", // archives + "bz2", "zip", "zipx", "gz", "7z", "tar", "cab", "rar", "kgb", "pea", "xz", "zz", // archives } var ImageFileExts = StringList{ "png", "jpg", "jpe","jpeg","jif","jfi","jfif", "svg", "bmp", "gif", "tiff","tif", "webp", /* "apng",*/ } var ArchiveFileExts = StringList{ - "bz2", "zip", "gz", "7z", "tar", "cab","rar", + "bz2", "zip", "zipx", "gz", "7z", "tar", "cab", "rar", "kgb", "pea", "xz", "zz", } var ExecutableFileExts = StringList{ - "exe", "jar", "phar", "shar", "iso", + "exe", "jar", "phar", "shar", "iso", "apk", "deb", } func init() {