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 13, 2022
1 parent 818d7fe commit 42c0d98
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 @@ -300,6 +300,7 @@ public function isDangerFilename($filename){
$isDangerStr($filename , ".php")
|| $isDangerStr($filename , ".svg")
|| $isDangerStr($filename , ".htm")
|| $isDangerStr($filename , ".shtm")
|| $isDangerStr($filename , "%")
|| $isDangerStr($filename , ".xml")
) {
Expand Down

0 comments on commit 42c0d98

Please sign in to comment.