This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  2bd7ceb7274d4597b1b49e46c3fe364dd7504927 (commit)
      from  1847438b5f6f6b640f77659a9f71931314141e45 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2bd7ceb7274d4597b1b49e46c3fe364dd7504927
Author: Sylvain Beucler <[email protected]>
Date:   Thu Jun 26 17:11:36 2014 +0200

    Mailing lists: handle quotes in description

diff --git a/src/CHANGES b/src/CHANGES
index e00df6a..2a1863b 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -4,6 +4,7 @@ Fusionforge-5.3.2:
 * Stats: handle bad encoding when gathering Git stats, remove spurious warning 
when SVN repository isn't created yet (Inria)
 * Admin: fix edit table themes, fix frs_processor sequence [#691] (TrivialDev)
 * User SSH keys (ssh_create.php): fix harmless warning when user removes all 
her keys (Inria)
+* Mailing lists: handle quotes in description
 * Plugin mediawiki: fix paths in import/export scripts (Inria)
 * Plugin fckeditor: dropped in favor of ckeditor
 
diff --git a/src/cronjobs/mail/mailing_lists_create.php 
b/src/cronjobs/mail/mailing_lists_create.php
index 38cccb3..db95d11 100755
--- a/src/cronjobs/mail/mailing_lists_create.php
+++ b/src/cronjobs/mail/mailing_lists_create.php
@@ -77,6 +77,7 @@ for ($i=0; $i<$rows; $i++) {
        $public = db_result($res,$i,'is_public');
        $status = db_result($res,$i,'status');
        $description = db_result($res, $i, 'description');
+       $description = str_replace('"', '\"', $description);
 
        $listname = trim($listname);
        if (!$listname) {

-----------------------------------------------------------------------

Summary of changes:
 src/CHANGES                                |    1 +
 src/cronjobs/mail/mailing_lists_create.php |    1 +
 2 files changed, 2 insertions(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to