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 +}