ezmlm-web code:

* fix broken MAIL_ADDRESS_PREFIX removal (Closes: #57)
This commit is contained in:
lars 2008-11-14 22:35:44 +00:00
parent a85d95f2a8
commit 27fb19ef94

View file

@ -1841,7 +1841,7 @@ sub create_list {
}
# Some taint checking ...
$qmail = $1 if $q->param('inlocal') =~ /(?:$MAIL_ADDRESS_PREFIX-)?([^\<\>\\\/\s]+)$/;
$qmail = $1 if $q->param('inlocal') =~ /(?:$MAIL_ADDRESS_PREFIX)?([^\<\>\\\/\s]+)$/;
# dots have to be turned into colons
# see http://www.qmail.org/man/man5/dot-qmail.html
$qmail =~ s/\./:/g;