mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
fix some security issues + change username min length to 3
This commit is contained in:
@@ -6,7 +6,9 @@ require_once(get_langfile_path('details.php'));
|
||||
loggedinorreturn();
|
||||
parked();
|
||||
|
||||
|
||||
if (isset($_GET['id'])) {
|
||||
$_GET['id'] = htmlspecialchars($_GET['id']);
|
||||
}
|
||||
$action = isset($_POST['action']) ? htmlspecialchars($_POST['action']) : (isset($_GET['action']) ? htmlspecialchars($_GET['action']) : '');
|
||||
$allowed_actions = array("list", "new", "newmessage", "view", "edit", "takeedit", "takeadded", "res", "takeres", "addamount", "delete", "confirm", "message", "search");
|
||||
if (!$action)
|
||||
|
||||
Reference in New Issue
Block a user