Skip to content
Permalink
Browse files Browse the repository at this point in the history
die on insecure file request, fix #85
  • Loading branch information
orthagh committed Nov 8, 2021
1 parent b5f445a commit 428c3d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front/send.php
Expand Up @@ -54,6 +54,7 @@
echo "Security attack !!!";
Toolbox::logDebug("[Plugin barcode][security][sendfile] ".
$_SESSION["glpiname"]." try to get a non standard file : ".$filename);
exit;
}

$file = $docDir.'/'.$filename;
Expand Down

0 comments on commit 428c3d9

Please sign in to comment.