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

Bug #15945 improper string used to check domain dns
Submitted: 2009-02-25 21:37 UTC
From: crmalibu Assigned: amir
Status: Closed Package: Validate (version 0.8.2)
PHP Version: 5.2.8 OS: irrelevant
Roadmaps: (Not assigned)    

 [2009-02-25 21:37 UTC] crmalibu (john doe)
Description: ------------ The check_domain functionality of the email() method does not properly identify the domain used for checkdnsrr() Test script: --------------- $e = '""'; $v = new Validate(); $v->email($e, array('check_domain'=>true, 'use_rfc822'=>false)); $v->email($e, array('check_domain'=>true, 'use_rfc822'=>true)); ###### check the value of $domain immediately before this line of code: ###### if (checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A')) { Expected result: ---------------- value of $domain should be '' Actual result: -------------- value of $domain is ''


 [2009-02-25 21:41 UTC] crmalibu (john doe)
-Package Version: +Package Version: 0.8.2
 [2009-02-26 15:42 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 by the end of next Sunday (CET). If this was a problem with the 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.