SF.net SVN: postfixadmin:[1638] branches/postfixadmin-2.3
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2014-02-13 20:12:45
|
Revision: 1638 http://sourceforge.net/p/postfixadmin/code/1638 Author: christian_boltz Date: 2014-02-13 20:12:43 +0000 (Thu, 13 Feb 2014) Log Message: ----------- functions.inc.php: - check_domains(): raise TLD limit to 13 chars - even if I seriously doubt someone wants to use such a long TLD ;-) ( https://sourceforge.net/p/postfixadmin/bugs/310/ again) Modified Paths: -------------- branches/postfixadmin-2.3/CHANGELOG.TXT branches/postfixadmin-2.3/functions.inc.php Modified: branches/postfixadmin-2.3/CHANGELOG.TXT =================================================================== --- branches/postfixadmin-2.3/CHANGELOG.TXT 2014-02-13 20:11:05 UTC (rev 1637) +++ branches/postfixadmin-2.3/CHANGELOG.TXT 2014-02-13 20:12:43 UTC (rev 1638) @@ -18,7 +18,7 @@ - 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 Modified: branches/postfixadmin-2.3/functions.inc.php =================================================================== --- branches/postfixadmin-2.3/functions.inc.php 2014-02-13 20:11:05 UTC (rev 1637) +++ branches/postfixadmin-2.3/functions.inc.php 2014-02-13 20:12:43 UTC (rev 1638) @@ -229,7 +229,7 @@ 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; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |