Changeset e18d992e in github


Ignore:
Timestamp:
Feb 4, 2011 6:58:19 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
47f55c0
Parents:
89d19c4
Message:
  • Fix adding contacts: convert e-mail to ascii before format checking
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/addcontact.inc

    re8d5bdc re18d992e  
    4242      $OUTPUT->send(); 
    4343    } 
    44     else if (!check_email($contact['email'], false)) { 
     44     
     45    $email = rcube_idn_to_ascii($contact['email']); 
     46    if (!check_email($email, false)) { 
    4547      $OUTPUT->show_message('emailformaterror', 'error', array('email' => $contact['email'])); 
    4648      $OUTPUT->send(); 
Note: See TracChangeset for help on using the changeset viewer.