summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-05 19:40:54 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-05 19:40:54 +0000
commit83e2f667963f634866712e162b9197e00e9bbadf (patch)
tree1bd4eb2b08c0fcfb28be48bb3ab2cddfe9c54fee /perl-install/any.pm
parent7f6ed29c1ca3e39e0bc6bfd3e1ffd988ce530dd9 (diff)
downloaddrakx-83e2f667963f634866712e162b9197e00e9bbadf.tar
drakx-83e2f667963f634866712e162b9197e00e9bbadf.tar.gz
drakx-83e2f667963f634866712e162b9197e00e9bbadf.tar.bz2
drakx-83e2f667963f634866712e162b9197e00e9bbadf.tar.xz
drakx-83e2f667963f634866712e162b9197e00e9bbadf.zip
(ask_user_and_root) ensure login is lowercase when transliterating
from real name (#49573) (regression introduced in r255158 on 2009-03-30)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 7ab1ba377..634dbf9f4 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -816,7 +816,7 @@ sub ask_user_and_root {
alignment => 'right', format => \&translate },
),
{ label => N("Real name"), val => \$u->{realname}, alignment => 'right', focus_out => sub {
- $u->{name} ||= Locale::gettext::iconv($u->{realname}, "utf-8", "ascii//TRANSLIT");
+ $u->{name} ||= lc(Locale::gettext::iconv($u->{realname}, "utf-8", "ascii//TRANSLIT"));
$u->{name} =~ s/[^a-zA-Z0-9_-]//g; # drop any charcter that would break login program
} },