SF.net SVN: postfixadmin:[1188] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2011-09-24 11:49:20
|
Revision: 1188 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=1188&view=rev Author: christian_boltz Date: 2011-09-24 11:49:14 +0000 (Sat, 24 Sep 2011) Log Message: ----------- functions.inc.php - check_email(): - replace $CONF[vacation_domain] only at the end of the mail address Modified Paths: -------------- trunk/functions.inc.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2011-09-23 16:08:32 UTC (rev 1187) +++ trunk/functions.inc.php 2011-09-24 11:49:14 UTC (rev 1188) @@ -266,7 +266,7 @@ //and change from blah#fo...@au... to bl...@fo... if ($CONF['vacation'] == 'YES') { $vacation_domain = $CONF['vacation_domain']; - $ce_email = preg_replace("/@$vacation_domain/", '', $ce_email); + $ce_email = preg_replace("/@$vacation_domain\$/", '', $ce_email); $ce_email = preg_replace("/#/", '@', $ce_email); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |