From da56d1d68702a7a80506245c251e58eaf84cff27 Mon Sep 17 00:00:00 2001 From: Ajaysen R <40132420+ajaysenr@users.noreply.github.com> Date: Sun, 13 Mar 2022 07:15:43 +0000 Subject: [PATCH] Update AttachmentModel.class.php --- server/Application/Api/Model/AttachmentModel.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/Application/Api/Model/AttachmentModel.class.php b/server/Application/Api/Model/AttachmentModel.class.php index 32fb24799..3dac201f4 100644 --- a/server/Application/Api/Model/AttachmentModel.class.php +++ b/server/Application/Api/Model/AttachmentModel.class.php @@ -303,6 +303,7 @@ public function isDangerFilename($filename){ || $isDangerStr($filename , ".shtm") || $isDangerStr($filename , "%") || $isDangerStr($filename , ".xml") + || $isDangerStr($filename , ".xxhtml") ) { return true; } @@ -312,4 +313,4 @@ public function isDangerFilename($filename){ -} \ No newline at end of file +}