Skip to content

Commit

Permalink
Update AttachmentModel.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaysenr committed Mar 13, 2022
1 parent 42c0d98 commit da56d1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/Application/Api/Model/AttachmentModel.class.php
Expand Up @@ -303,6 +303,7 @@ public function isDangerFilename($filename){
|| $isDangerStr($filename , ".shtm")
|| $isDangerStr($filename , "%")
|| $isDangerStr($filename , ".xml")
|| $isDangerStr($filename , ".xxhtml")
) {
return true;
}
Expand All @@ -312,4 +313,4 @@ public function isDangerFilename($filename){



}
}

0 comments on commit da56d1d

Please sign in to comment.