mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-05-08 21:41:23 +00:00
remove null bytes in login
This commit is contained in:
parent
13a9915845
commit
9310015097
|
|
@ -50,8 +50,8 @@ if (isset($_REQUEST["sesstheme"]) && strlen($_REQUEST["sesstheme"])>0 && is_nume
|
|||
}
|
||||
|
||||
if (isset($_REQUEST["login"])) {
|
||||
$login = $_REQUEST["login"];
|
||||
$login = str_replace("*", "", $login);
|
||||
$login = trim($_REQUEST["login"]);
|
||||
$login = str_replace(["*", "\0"], "", $login);
|
||||
}
|
||||
|
||||
if (!isset($login) || strlen($login)==0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user