summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/any.pm2
-rw-r--r--perl-install/install/NEWS3
2 files changed, 4 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
} },
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e8781f505..7f19e10d8 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- ensure login is lowercase when transliterating from real name
+ (#49573)
+
Version 12.24 - 03 April 2009
- handle new drivers: