/[LeafOK_CVS]/fenglin/bbs/section_service_master.php
ViewVC logotype

Diff of /fenglin/bbs/section_service_master.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 by sysadm, Tue Apr 29 11:55:32 2025 UTC Revision 1.5 by sysadm, Tue Nov 4 11:13:39 2025 UTC
# Line 22  Line 22 
22          header("Content-Type:application/json; charset=utf-8");          header("Content-Type:application/json; charset=utf-8");
23    
24          // Validate input data          // Validate input data
25          if (!preg_match("/^[A-Za-z][A-Za-z0-9]{2,11}$/", $username))          if (!preg_match("/^[A-Za-z][A-Za-z0-9_]{2,11}$/", $username))
26          {          {
27                  $result_set["return"]["code"] = -1;                  $result_set["return"]["code"] = -1;
28                  array_push($result_set["return"]["errorFields"], array(                  array_push($result_set["return"]["errorFields"], array(


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1