summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-12 16:23:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-12 16:23:15 +0000
commit0f74055f739cfdb5bf5524824dd01e45d50037bf (patch)
treef8f40426610fe4b9cdebd8e46644c57cef96053e /perl-install/standalone
parent8bcc9984fa76e26fc94c5609bd4bf6e26f0135a7 (diff)
downloaddrakx-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar
drakx-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.gz
drakx-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.bz2
drakx-0f74055f739cfdb5bf5524824dd01e45d50037bf.tar.xz
drakx-0f74055f739cfdb5bf5524824dd01e45d50037bf.zip
fix #5586 (profiles with spaces in name)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakconnect5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index f91700ec5..1a872f19e 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -197,8 +197,9 @@ $window1->{window}->add(
clicked => sub { $dialog->destroy }),
gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub {
#warn if already existing
-
- network::netconnect::add_profile($netcnx, $entry_dialog->get_text);
+ my $prof = $entry_dialog->get_text;
+ $prof =~ s/ /_/g;
+ network::netconnect::add_profile($netcnx, $prof);
update_profiles();
$dialog->destroy;
}),