[Svn] r4828 - in trunk/roundcubemail: . program/include

trac at roundcube.net trac at roundcube.net
Thu Jun 2 14:24:23 CEST 2011


Author: alec
Date: 2011-06-02 07:24:22 -0500 (Thu, 02 Jun 2011)
New Revision: 4828

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/include/main.inc
Log:
- Fix identities "reply-to" and "bcc" fields have a bogus value when left empty (#1487943)


Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2011-06-02 06:19:27 UTC (rev 4827)
+++ trunk/roundcubemail/CHANGELOG	2011-06-02 12:24:22 UTC (rev 4828)
@@ -1,6 +1,7 @@
 CHANGELOG Roundcube Webmail
 ===========================
 
+- Fix identities "reply-to" and "bcc" fields have a bogus value when left empty (#1487943)
 - Add popup with basic fields selection for addressbook search
 - Case-insensitive matching in autocompletion (#1487933)
 - Added option to force spellchecking before sending a message (#1485458)

Modified: trunk/roundcubemail/program/include/main.inc
===================================================================
--- trunk/roundcubemail/program/include/main.inc	2011-06-02 06:19:27 UTC (rev 4827)
+++ trunk/roundcubemail/program/include/main.inc	2011-06-02 12:24:22 UTC (rev 4828)
@@ -1809,6 +1809,10 @@
 
   $domain = $is_utf ? idn_to_ascii($domain) : idn_to_utf8($domain);
 
+  if ($domain === false) {
+    return '';
+  }
+
   return $at ? $user . '@' . $domain : $domain;
 }
 

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



More information about the Svn mailing list