From 4e5f708eafec73c580f331071beebe1f0f19e692 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" Date: Fri, 23 Jul 1999 22:12:29 +0000 Subject: [PATCH] Munge usernames containing "%" into an "@" when determining email address. --- webtools/bonsai/globals.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/webtools/bonsai/globals.pl b/webtools/bonsai/globals.pl index 3a4f1100d3e2..5df69b167249 100644 --- a/webtools/bonsai/globals.pl +++ b/webtools/bonsai/globals.pl @@ -749,6 +749,7 @@ sub EmailFromUsername { $name = $2; $last = ">$3"; } + $name =~ s/%/@/; $name .= '@' . Param("userdomain", 1) unless ($name =~ /\@/); $name = $first . trim($name) . $last;