Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Mar 14, 2022
1 parent 4e6b321 commit ba45d19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/Application/Api/Model/AttachmentModel.class.php
Expand Up @@ -309,6 +309,8 @@ public function isDangerFilename($filename){
|| $isDangerStr($filename , ".aspx")
|| $isDangerStr($filename , ".xsd")
|| $isDangerStr($filename , ".asa")
|| $isDangerStr($filename , ".cshtml")
|| $isDangerStr($filename , ".axd")
) {
return true;
}
Expand Down

0 comments on commit ba45d19

Please sign in to comment.