Merge pull request #27 from wr3nch0x1/master

Update api.php
This commit is contained in:
Christian Haschek 2021-06-28 11:23:12 +02:00 committed by GitHub
commit cc7b18400a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ ini_set('display_errors', 1);
include_once(ROOT.DS.'inc'.DS.'core.php');
$action = strtolower($_REQUEST['a']);
$email = strtolower($_REQUEST['email']);
$email = basename(realpath(strtolower($_REQUEST['email'])));
switch($action)
{