A free open source IT asset/license management system
Added comment
snipe02c80ff18af4
diff --git a/app/Helpers/StorageHelper.php b/app/Helpers/StorageHelper.phpindex 0b56aa97cd..ef0facc27b 100644--- a/app/Helpers/StorageHelper.php+++ b/app/Helpers/StorageHelper.php@@ -26,6 +26,15 @@ class StorageHelper}}++ /**+ * This determines the file types that should be allowed inline and checks their fileinfo extension+ *+ * @author <A. Gianotto> [<[email protected]]>+ * @since v7.0.14+ * @param $file_with_path+ * @return bool+ */public static function allowSafeInline($file_with_path) {$allowed_inline = [