X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Fbin%2Fadd2blacklist.cgi;h=06c81250f438a3328c2c4db388493d34dcfdf417;hb=1d24e3213b4a03c11ddeb0abee4b319f442191c1;hp=f7c29d59ba5e16ef8e367c477c6b1096980a1ec3;hpb=16babf81ce331af378de565ba73e927ff5491f65;p=clearscm.git diff --git a/maps/bin/add2blacklist.cgi b/maps/bin/add2blacklist.cgi index f7c29d5..06c8125 100755 --- a/maps/bin/add2blacklist.cgi +++ b/maps/bin/add2blacklist.cgi @@ -23,6 +23,7 @@ use lib "$FindBin::Bin/../lib"; use MAPS; use MAPSLog; use MAPSWeb; +use MAPSUtil; use CGI qw/:standard *table/; use CGI::Carp 'fatalsToBrowser'; @@ -43,7 +44,7 @@ sub Add2List() { last if ((!defined $pattern || $pattern eq '') && (!defined $domain || $domain eq '')); - $sender = lc "$pattern\@$domain"; + $sender = CheckEmail $pattern, $domain; my ($status, $rule) = OnBlacklist($sender); @@ -100,7 +101,7 @@ print '