SF.net SVN: postfixadmin:[1470] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-06-05 23:03:05
|
Revision: 1470 http://sourceforge.net/p/postfixadmin/code/1470 Author: christian_boltz Date: 2013-06-05 23:03:03 +0000 (Wed, 05 Jun 2013) Log Message: ----------- functions.inc.php: - check_email: mention the invalid mail address in errormessage (needs text change) Modified Paths: -------------- trunk/functions.inc.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2013-06-05 22:48:29 UTC (rev 1469) +++ trunk/functions.inc.php 2013-06-05 23:03:03 UTC (rev 1470) @@ -268,13 +268,13 @@ // Perform non-domain-part sanity checks if (!preg_match ('/^[-!#$%&\'*+\\.\/0-9=?A-Z^_{|}~]+' . '@' . '[^@]+$/i', $ce_email)) { - return Lang::read('pInvalidMailRegex'); + return Lang::read_f('pInvalidMailRegex', $email); } // Determine domain name $matches=array(); if (!preg_match('|@(.+)$|',$ce_email,$matches)) { - return Lang::read('pInvalidMailRegex'); + return Lang::read_f('pInvalidMailRegex', $email); } $domain=$matches[1]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |