security concern disabled endpoint
This commit is contained in:
parent
5db00743a6
commit
6c5fb09e41
|
|
@ -4,4 +4,4 @@ $filename = $_GET['filename'];
|
|||
$filetype = $_GET['filetype'];
|
||||
$content = gzdecode(file_get_contents('php://input')); //content uploaded
|
||||
|
||||
file_put_contents("uploads/" . $filename . "-" . date("m-d-Y", time()) . "-" . genHash(6) . "." . $filetype, $content);
|
||||
//file_put_contents("uploads/" . $filename . "-" . date("m-d-Y", time()) . "-" . genHash(6) . "." . $filetype, $content);
|
||||
Loading…
Reference in New Issue