diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 9b45cc2e..c5e99d82 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -18,7 +18,7 @@ Changes since 2.3.6 release - don't trim() mail address to avoid that aliases starting with a space are allowed. This fixes http://sourceforge.net/p/postfixadmin/bugs/210/ and https://sourceforge.net/p/postfixadmin/feature-requests/113/ - - update regex in check_domain() to support new, longer TLDs like .photography + - update regex in check_domain() to support new, longer TLDs like .international - mark vacation_notification.notified field as latin1 to avoid overlong index - vacation.pl: encode subject - vacation.pl: disable use of TLS by default due to a bug in Mail::Sender 0.8.22 diff --git a/functions.inc.php b/functions.inc.php index 26db679f..670be5ef 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -229,7 +229,7 @@ function check_domain ($domain) global $CONF; global $PALANG; - if (!preg_match ('/^([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,11}$/i', ($domain))) + if (!preg_match ('/^([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,13}$/i', ($domain))) { flash_error(sprintf($PALANG['pInvalidDomainRegex'], htmlentities($domain))); return false;