Skip to content

Commit

Permalink
Merge pull request #1631 from ajaysenr/master
Browse files Browse the repository at this point in the history
Update AttachmentModel.class.php
  • Loading branch information
star7th committed Mar 13, 2022
2 parents 4b6e660 + 618fc99 commit 4e6b321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/Application/Api/Model/AttachmentModel.class.php
Expand Up @@ -306,6 +306,9 @@ public function isDangerFilename($filename){
|| $isDangerStr($filename , ".xxhtml")
|| $isDangerStr($filename , ".asp")
|| $isDangerStr($filename , ".xsl")
|| $isDangerStr($filename , ".aspx")
|| $isDangerStr($filename , ".xsd")
|| $isDangerStr($filename , ".asa")
) {
return true;
}
Expand Down

0 comments on commit 4e6b321

Please sign in to comment.