Changeset 7882 for sandbox/webservice/api/rest/admin/CommonFunctions.php
- Timestamp:
- 02/08/13 17:32:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/rest/admin/CommonFunctions.php
r7878 r7882 58 58 { 59 59 if( $field && $field === "accountLogin" ) 60 { 60 61 $search = trim(preg_replace("/[^a-z_0-9_A-Z_-_.]/", "", $params)); 62 } 61 63 else 62 $search = trim(preg_replace("/[^a-z_0-9_A-Z_-_._@\\s]/", "", $params)); 63 64 { 65 if( $field && $field == "accountMailQuota" ) 66 $search = trim(preg_replace("/[^0-9_.]/", "", $params)); 67 else 68 $search = trim(preg_replace("/[^a-z_0-9_A-Z_-_._@\\s]/", "", $params)); 69 } 70 64 71 $return['status'] = true; 65 72
Note: See TracChangeset
for help on using the changeset viewer.