View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000881 | v3.2 Release | User Admin | public | 2011-07-13 05:20 | 2014-07-16 21:28 | ||||
Reporter | bbalegere | ||||||||
Assigned To | caseydk | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | 3.2 | Fixed in Version | 3.2 | ||||||
Summary | 0000881: Email is not validated in while creating users | ||||||||
Description | While creating users the email id is not validated. Anything with a length of more than 4 is accepted. So i have added an extra function to validate email id. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
caseydk (administrator) 2011-07-14 23:01 |
This is a good implementation for the front end validation, we also need to hook an email validity check into the CUser->check() method using w2p_check_email() in includes/main_functions.php |
bbalegere (reporter) 2011-07-15 07:11 |
w2p_check_email() can be updated with the validation code from here. http://pear.php.net/manual/en/package.validate.validate.email.php |
caseydk (administrator) 2011-07-15 07:31 |
While that would work, it introduces a new dependency of that PEAR module. Instead, we'll use the filter_var function with FILTER_VALIDATE_EMAIL available in PHP 5.2.0+ Docs: http://www.php.net/manual/en/function.filter-var.php |
caseydk (administrator) 2014-05-20 20:34 |
Resolved in development: https://github.com/web2project/web2project/commit/dff74ec2571b7deae7f36f53968f4ce024814098 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-13 05:20 | bbalegere | New Issue | |
2011-07-13 05:20 | bbalegere | File Added: emailvalid.diff | |
2011-07-14 23:01 | caseydk | Note Added: 0002026 | |
2011-07-14 23:01 | caseydk | Status | new => acknowledged |
2011-07-14 23:02 | caseydk | Severity | major => minor |
2011-07-14 23:02 | caseydk | Project | v2.3 Release (Closed) => Pending Requests |
2011-07-15 07:11 | bbalegere | Note Added: 0002034 | |
2011-07-15 07:31 | caseydk | Note Added: 0002035 | |
2014-05-20 20:32 | caseydk | Project | Pending Requests => v3.2 Release |
2014-05-20 20:34 | caseydk | Note Added: 0003368 | |
2014-05-20 20:34 | caseydk | Status | acknowledged => resolved |
2014-05-20 20:34 | caseydk | Resolution | open => fixed |
2014-05-20 20:34 | caseydk | Assigned To | => caseydk |
2014-05-22 19:52 | caseydk | Category | General => User Admin |
2014-05-22 19:52 | caseydk | Product Version | 2.3 => |
2014-06-10 22:09 | caseydk | Target Version | => 3.2 |
2014-07-16 21:26 | caseydk | Fixed in Version | => 3.2 |
2014-07-16 21:28 | caseydk | Status | resolved => closed |