From 8278a58d0af9f91901d68c3ab9d9f6b6715ad079 Mon Sep 17 00:00:00 2001 From: kink Date: Wed, 9 Nov 2005 22:15:47 +0000 Subject: [PATCH] Allow double quote to be used in MOTD (#1276959), patch by Tomas from bug log. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10314 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + config/conf.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 79d3e8e0..03284a68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -477,6 +477,7 @@ Version 1.5.1 -- CVS return value (#1351822) - Make test for IE6 in SendDownloadHeaders also match versions higher than 6 (#1339211). + - Allow double quote to be used in MOTD (#1276959). Version 1.5.0 - 2 February 2004 ------------------------------- diff --git a/config/conf.pl b/config/conf.pl index 20d62efd..5c7a1e9a 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1428,7 +1428,7 @@ sub command71 { $line =~ s/ /\ \ /g; $line =~ s/\t/\ \ \ \ /g; $line =~ s/$/ /; - $line =~ s/\"/"/g; + $line =~ s/\"/\\\"/g; $new_motd = $new_motd . $line; } -- 2.25.1