mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix some security issues + change username min length to 3
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ foreach ($allStatus as $key => $value) {
|
||||
}
|
||||
|
||||
print("<p>" . implode(' | ', $headerFilters) . "</p>");
|
||||
$q = $_GET['q'] ?? '';
|
||||
$q = htmlspecialchars($_GET['q'] ?? '');
|
||||
$filterForm = <<<FORM
|
||||
<form id="filterForm" action="{$_SERVER['REQUEST_URI']}" method="get">
|
||||
<input id="q" type="text" name="q" value="{$q}" placeholder="{$lang_myhr['th_hr_id']}">
|
||||
|
||||
Reference in New Issue
Block a user