Skip to content

Commit 428c3d9

Browse files
committed
die on insecure file request, fix #85
1 parent b5f445a commit 428c3d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: front/send.php

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
echo "Security attack !!!";
5555
Toolbox::logDebug("[Plugin barcode][security][sendfile] ".
5656
$_SESSION["glpiname"]." try to get a non standard file : ".$filename);
57+
exit;
5758
}
5859

5960
$file = $docDir.'/'.$filename;

0 commit comments

Comments
 (0)