[Svn] r4494 - in trunk/roundcubemail: . program/steps/addressbook program/steps/settings

trac at roundcube.net trac at roundcube.net
Fri Feb 4 14:44:47 CET 2011


Author: alec
Date: 2011-02-04 07:44:47 -0600 (Fri, 04 Feb 2011)
New Revision: 4494

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/steps/addressbook/save.inc
   trunk/roundcubemail/program/steps/settings/save_identity.inc
Log:
- Fix email_dns_check setting not used for identities/contacts (#1487740) 


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2011-02-04 12:03:31 UTC (rev 4493)
+++ trunk/roundcubemail/CHANGELOG	2011-02-04 13:44:47 UTC (rev 4494)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix email_dns_check setting not used for identities/contacts (#1487740)
 - Fix ICANN example addresses doesn't validate (#1487742)
 - Security: protect login form submission from CSRF
 - Security: prevent from relaying malicious requests through modcss.inc

Modified: trunk/roundcubemail/program/steps/addressbook/save.inc
===================================================================
--- trunk/roundcubemail/program/steps/addressbook/save.inc	2011-02-04 12:03:31 UTC (rev 4493)
+++ trunk/roundcubemail/program/steps/addressbook/save.inc	2011-02-04 13:44:47 UTC (rev 4494)
@@ -143,7 +143,7 @@
 foreach ($CONTACTS->get_col_values('email', $a_record, true) as $email) {
   if (strlen($email)) {
     $_email = rcube_idn_to_ascii($email);
-    if (!check_email($_email, false)) {
+    if (!check_email($_email)) {
       $OUTPUT->show_message('emailformaterror', 'warning', array('email' => $email));
       rcmail_overwrite_action($return_action);
       return;

Modified: trunk/roundcubemail/program/steps/settings/save_identity.inc
===================================================================
--- trunk/roundcubemail/program/steps/settings/save_identity.inc	2011-02-04 12:03:31 UTC (rev 4493)
+++ trunk/roundcubemail/program/steps/settings/save_identity.inc	2011-02-04 13:44:47 UTC (rev 4494)
@@ -60,7 +60,7 @@
 foreach (array('email', 'reply-to', 'bcc') as $item) {
   if ($email = $save_data[$item]) {
     $ascii_email = rcube_idn_to_ascii($email);
-    if (!check_email($ascii_email, false)) {
+    if (!check_email($ascii_email)) {
       // show error message
       $OUTPUT->show_message('emailformaterror', 'error', array('email' => $email), false);
       rcmail_overwrite_action('edit-identity');

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list