Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.5

Bug #16427 Email Validation not working for check_domain
Submitted: 2009-07-11 13:16 UTC Modified: 2009-07-15 19:33 UTC
From: ozzii Assigned: amir
Status: Closed Package: Validate (version 0.8.2)
PHP Version: 5.2.5 OS: windows
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-11 13:16 UTC] ozzii (ozzii ozzii)
Description: ------------ Hi, The email method of the validation class does not work correctly when checking domains. See below for test script Test script: --------------- <?php require_once 'Validate.php'; $email = '"Doe, John" <johndoe@sadsad.xx>'; if (Validate::email($email, array('check_domain' =>true, 'use_rfc822' => true))) { echo 'Valid!'; } else { echo $email . ' failed.'; } ?> Expected result: ---------------- failed Actual result: -------------- Valid

Comments

 [2009-07-15 19:33 UTC] amir (Amir Mohammad Saied)
-Status: Open +Status: Closed -Assigned To: +Assigned To: amir
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.