Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1628 from ajaysenr/master
Update AttachmentModel.class.php
  • Loading branch information
star7th committed Mar 13, 2022
2 parents 42c0d98 + da56d1d commit 830c89a
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 830c89a

Please sign in to comment.