Re: Urls containing "@" screwed up in archived Mails
Jeff Breidenbach <[email protected]> Thu, 9 Dec 2010 19:16:44 -0800
| Newsgroups | gmane.mail.archives.mail-archive |
|---|---|
| Message-ID | <[email protected]> |
The Mail Archive does have to be very aggressive to obfuscate email
addresses, otherwise a lot of people go bonkers. But yes, it is dumb to
break a hyperlink, especially a hyperlink to The Mail Archive. Your feature
request is valid and if you are feeling eager, feel free to send in a patch.
Otherwise we'll get to it when inspiration strikes (and I have to warn you,
inspiration can be rather slow to strike sometimes...).
http://www.mhonarc.org/MHonArc/doc/resources/addressmodifycode.html
<AddressModifyCode>
$orig_address = $_;
$address = lc($orig_address);
if ($ENV{'MAILLIST'} eq $address) {
# If it's the list address, leave it alone.
$final_address = $orig_address;
} else {
# Otherwise, conceal the address. (Choose ONE option below.)
$address =~ s/(.).{0,3}(@.*)/$1\.\.\.$2/; # usern...-9IKiO1iGCm/[email protected]
$final_address = $address;
}
$_ = $final_address;
</AddressModifyCode>