From 237716efff343a5da2cb490f4fcddf647ed32e15 Mon Sep 17 00:00:00 2001 From: 0xcrypto Date: Sat, 3 Apr 2021 14:17:54 +0530 Subject: [PATCH] Removed XML file extension from defaultExtensions XML file extensions should not be allowed to upload --- src/Filesystem/Definitions.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Filesystem/Definitions.php b/src/Filesystem/Definitions.php index 931e3552e..5f599e38b 100644 --- a/src/Filesystem/Definitions.php +++ b/src/Filesystem/Definitions.php @@ -118,7 +118,6 @@ protected function defaultExtensions() 'pdf', 'swf', 'txt', - 'xml', 'ods', 'xls', 'xlsx', @@ -138,7 +137,6 @@ protected function defaultExtensions() 'webm', 'mkv', 'rar', - 'xml', 'zip' ]; }