Remove bounce address validation tag (prvs=) from email address. Thanks to Shawn for the feature request.

This commit is contained in:
Gilles Darold 2020-06-07 08:43:08 +02:00
parent 279ea3fa81
commit 7cd749fdae

View file

@ -2325,6 +2325,9 @@ sub edecode
{
my ($addr) = @_;
# First remove any bounce address tag validation if any
$addr =~ s/^prvs=[^=]+=//;
if ($addr =~ /=\?[^\?]+\?(.)\?(.*)?=/s) {
if (uc($1) eq 'B') {
$addr = decode_base64($1);