Browse Source

Allow double quote to be used in MOTD (#1276959), patch by Tomas from bug log.

Thijs Kinkhorst 19 years ago
parent
commit
e9d0c1e5e8
2 changed files with 2 additions and 1 deletions
  1. 1 0
      ChangeLog
  2. 1 1
      config/conf.pl

+ 1 - 0
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
 -------------------------------

+ 1 - 1
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;
         }