Changeset 6140 in subversion


Ignore:
Timestamp:
May 3, 2012 7:02:50 AM (13 months ago)
Author:
netbit
Message:
  • Fix the idn_convert() function call that was preventing the login with the "%s" replacement variable in config.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_utils.php

    r6091 r6140  
    1 <?php 
     1<?php 
    22 
    33/* 
     
    629629        if (strpos($name, '%s') !== false) { 
    630630            $user_email = self::get_input_value('_user', self::INPUT_POST); 
    631             $user_email = rcube_idn_convert($user_email, true); 
     631            $user_email = rcube_utils::idn_convert($user_email, true); 
    632632            $matches    = preg_match('/(.*)@([a-z0-9\.\-\[\]\:]+)/i', $user_email, $s); 
    633633            if ($matches < 1 || filter_var($s[1]."@".$s[2], FILTER_VALIDATE_EMAIL) === false) { 
Note: See TracChangeset for help on using the changeset viewer.