зеркало из https://github.com/mozilla/gecko-dev.git
Munge usernames containing "%" into an "@" when determining email address.
This commit is contained in:
Родитель
d9118128a4
Коммит
4e5f708eaf
|
@ -749,6 +749,7 @@ sub EmailFromUsername {
|
|||
$name = $2;
|
||||
$last = ">$3";
|
||||
}
|
||||
$name =~ s/%/@/;
|
||||
$name .= '@' . Param("userdomain", 1)
|
||||
unless ($name =~ /\@/);
|
||||
$name = $first . trim($name) . $last;
|
||||
|
|
Загрузка…
Ссылка в новой задаче