From d756b071bfa59d7008e4825217be6e3910eed31f Mon Sep 17 00:00:00 2001 From: graf25 Date: Fri, 19 Apr 2002 04:18:46 +0000 Subject: [PATCH] Fix for [ 545779 ] Configure Script Problem with Quotes. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2752 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/conf.pl b/config/conf.pl index 8d6d290a..a8415200 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -644,6 +644,7 @@ sub command1 { $new_org_name = $org_name; } else { $new_org_name =~ s/[\r|\n]//g; + $new_org_name =~ s/\"/"/g; } return $new_org_name; } @@ -702,6 +703,7 @@ sub command3 { $new_org_title = $org_title; } else { $new_org_title =~ s/[\r|\n]//g; + $new_org_title =~ s/\"/\'/g; } return $new_org_title; } @@ -985,7 +987,7 @@ sub command71 { $line =~ s/ /\ \ /g; $line =~ s/\t/\ \ \ \ /g; $line =~ s/$/ /; - $line =~ s/\'/\\\'/g; + $line =~ s/\"/"/g; $new_motd = $new_motd . $line; } @@ -2207,7 +2209,7 @@ sub save_data { print CF "\n"; # string - print CF "\$org_name = '$org_name';\n"; + print CF "\$org_name = \"$org_name\";\n"; # string print CF "\$org_logo = '$org_logo';\n"; $org_logo_width |= 0; -- 2.25.1