From f354382802a6501e81f2e995cf8d06aeeccbcca7 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sun, 28 Dec 2025 15:53:29 +0100 Subject: [PATCH] Add FORBIDDEN file type to FileAttachmentType for improved validation --- app/MindWork AI Studio/Chat/FileAttachmentType.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/MindWork AI Studio/Chat/FileAttachmentType.cs b/app/MindWork AI Studio/Chat/FileAttachmentType.cs index a4b0b2f5..11185e94 100644 --- a/app/MindWork AI Studio/Chat/FileAttachmentType.cs +++ b/app/MindWork AI Studio/Chat/FileAttachmentType.cs @@ -9,14 +9,19 @@ public enum FileAttachmentType /// Document file types, such as .pdf, .docx, .txt, etc. /// DOCUMENT, - + /// /// All image file types, such as .jpg, .png, .gif, etc. /// IMAGE, - + /// /// All audio file types, such as .mp3, .wav, .aac, etc. /// AUDIO, + + /// + /// Forbidden file types that should not be attached, such as executables. + /// + FORBIDDEN, } \ No newline at end of file