diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-21 11:23:17 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-21 11:23:17 +0200 |
commit | 74d7841c2643434fbd3e8759f160bda05f82ab0d (patch) | |
tree | 8d94c1e21d9b2c103f52d13e1ea0a0d7f64a1a70 /program/include/rcube_utils.php | |
parent | 9cb76ad3c2ebcf6f75053de2e686390470dce7ba (diff) | |
parent | ae7027de029e28fdd3894efe919b6171b2b11eab (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Conflicts:
CHANGELOG
Diffstat (limited to 'program/include/rcube_utils.php')
-rw-r--r-- | program/include/rcube_utils.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_utils.php b/program/include/rcube_utils.php index d1a8315ec..9f18b79c4 100644 --- a/program/include/rcube_utils.php +++ b/program/include/rcube_utils.php @@ -110,6 +110,11 @@ class rcube_utils } } + // last domain part + if (preg_match('/[^a-zA-Z]/', array_pop($domain_array))) { + return false; + } + $rcube = rcube::get_instance(); if (!$dns_check || !$rcube->config->get('email_dns_check')) { |