Parent Directory
|
Revision Log
|
Patch
| Revision 1.9 by sysadm, Mon Nov 3 06:19:31 2025 UTC | Revision 1.10 by sysadm, Tue Nov 4 11:13:39 2025 UTC | |
|---|---|---|
| # | Line 29 | Line 29 |
| 29 | header("Content-Type:application/json; charset=utf-8"); | header("Content-Type:application/json; charset=utf-8"); |
| 30 | ||
| 31 | // Validate input data | // Validate input data |
| 32 | if (!preg_match("/^[A-Za-z][A-Za-z0-9_]{4,11}$/", $username)) | if (!preg_match("/^[A-Za-z][A-Za-z0-9_]{2,11}$/", $username)) |
| 33 | { | { |
| 34 | $result_set["return"]["code"] = -1; | $result_set["return"]["code"] = -1; |
| 35 | array_push($result_set["return"]["errorFields"], array( | array_push($result_set["return"]["errorFields"], array( |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |