Allow double quote to be used in MOTD (#1276959), patch by Tomas from bug log.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Nov 2005 22:15:47 +0000 (22:15 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Nov 2005 22:15:47 +0000 (22:15 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10314 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
config/conf.pl

index 79d3e8e0c1a64bbf6e1efb80bb9ee716a06fb08c..03284a6816bd85cbe5a87a643e11a7577b5200e9 100644 (file)
--- 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
 -------------------------------
index 20d62efdc5922e7d6b62cbe110bfe2eefb4347a0..5c7a1e9afb047f56e418256b10515f8c7fa38ff0 100755 (executable)
@@ -1428,7 +1428,7 @@ sub command71 {
             $line =~ s/  /\&nbsp;\&nbsp;/g;
             $line =~ s/\t/\&nbsp;\&nbsp;\&nbsp;\&nbsp;/g;
             $line =~ s/$/ /;
-            $line =~ s/\"/&quot;/g;
+            $line =~ s/\"/\\\"/g;
 
             $new_motd = $new_motd . $line;
         }