Skip to content

Commit

Permalink
file upload bug
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Mar 8, 2022
1 parent 85af5ab commit 818d7fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/Application/Api/Model/AttachmentModel.class.php
Expand Up @@ -301,6 +301,7 @@ public function isDangerFilename($filename){
|| $isDangerStr($filename , ".svg")
|| $isDangerStr($filename , ".htm")
|| $isDangerStr($filename , "%")
|| $isDangerStr($filename , ".xml")
) {
return true;
}
Expand Down

0 comments on commit 818d7fe

Please sign in to comment.