SF.net SVN: postfixadmin:[875] trunk/VIRTUAL_VACATION/vacation.pl
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2010-10-13 23:51:19
|
Revision: 875 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=875&view=rev Author: christian_boltz Date: 2010-10-13 23:51:12 +0000 (Wed, 13 Oct 2010) Log Message: ----------- vacation.pl: - drop unneeded backslashes. The first one caused logging of "$email" instead of the variable content, the others are just cosmetical. Reported by Johan Meiring (jmeiring) https://sourceforge.net/tracker/?func=detail&atid=937964&aid=3086899&group_id=191583 Modified Paths: -------------- trunk/VIRTUAL_VACATION/vacation.pl Modified: trunk/VIRTUAL_VACATION/vacation.pl =================================================================== --- trunk/VIRTUAL_VACATION/vacation.pl 2010-10-12 20:45:24 UTC (rev 874) +++ trunk/VIRTUAL_VACATION/vacation.pl 2010-10-13 23:51:12 UTC (rev 875) @@ -327,12 +327,12 @@ # Recipient has vacation if ($rv == 1) { $realemail = $email; - $logger->debug("Found '\$email'\ has vacation active"); + $logger->debug("Found '$email' has vacation active"); } else { my $vemail = $email; $vemail =~ s/\@/#/g; $vemail = $vemail . "\@" . $vacation_domain; - $logger->debug("Looking for alias records that \'$email\' resolves to with vacation turned on"); + $logger->debug("Looking for alias records that '$email' resolves to with vacation turned on"); $query = qq{SELECT goto FROM alias WHERE address=? AND (goto LIKE ? OR goto LIKE ? OR goto LIKE ? OR goto = ?)}; $stm = $dbh->prepare($query) or panic_prepare($query); $stm->execute($email,"$vemail,%","%,$vemail","%,$vemail,%", "$vemail") or panic_execute($query,"address='$email'"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |