From c4b262c2613d4a8865de0b3252112544bd81997a Mon Sep 17 00:00:00 2001 From: Chris Brame Date: Sat, 9 Apr 2022 20:12:14 -0400 Subject: [PATCH] fix(tickets): disable uploading .svg as an attachment --- src/controllers/tickets.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/controllers/tickets.js b/src/controllers/tickets.js index db840df7a..caf1aa632 100644 --- a/src/controllers/tickets.js +++ b/src/controllers/tickets.js @@ -575,9 +575,7 @@ ticketsController.uploadImageMDE = function (req, res) { '.bmp', '.dib', '.heif', - '.heic', - '.svg', - '.svgz' + '.heic' ] if (!allowedExtensions.includes(ext.toLocaleLowerCase())) {