Menu

#380 masked email is not displayed correctly

open
nobody
None
5
2008-02-28
2008-02-28
No

masked email is printed as :
nitai at ibsystems döt com
instead of:
nitai at ibsystems dot com

The corrected maskemail function should be:
function maskemail($email) {

if (HIDE_EMAIL && empty($_SESSION['uid'])) {
return '******';
} elseif (MASK_EMAIL) {
// 27-Feb-2008 IBS The following line was replaced with the one following it.
// return str_replace('@', ' at ', str_replace('.', ' döt ', $email));
return str_replace('@', ' at ', str_replace('.', ' dot ', $email));
} else {
return $email;
}
}

Discussion

  • Wastl

    Wastl - 2008-08-26

    Logged In: YES
    user_id=1129170
    Originator: NO

    Maybe this is on purpose as spammers probably can handle the "dot". On my system it is showing as "döt", your "döt" looks like a problem with character sets.

     
  • Bryce Nesbitt

    Bryce Nesbitt - 2008-09-24

    You mean in functions.php, right?

    That looks intentional. It's "döt" with an o-umlaut.

     

Log in to post a comment.