[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail:[13913]
From:       pdontthink () users ! sourceforge ! net
Date:       2010-02-16 20:13:21
Message-ID: E1NhTnN-0001y7-M8 () sfp-svn-2 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 13913
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=13913&view=rev
Author:   pdontthink
Date:     2010-02-16 20:13:21 +0000 (Tue, 16 Feb 2010)

Log Message:
-----------
RFC 3676 says there can't be more in the signature delimiter line than this

Modified Paths:
--------------
    trunk/squirrelmail/src/compose.php

Modified: trunk/squirrelmail/src/compose.php
===================================================================
--- trunk/squirrelmail/src/compose.php	2010-02-16 19:48:38 UTC (rev 13912)
+++ trunk/squirrelmail/src/compose.php	2010-02-16 20:13:21 UTC (rev 13913)
@@ -980,7 +980,7 @@
                 $body = '';
                 $strip_sigs = getPref($data_dir, $username, 'strip_sigs');
                 foreach ($rewrap_body as $line) {
-                    if ($strip_sigs && substr($line,0,3) == '-- ') {
+                    if ($strip_sigs && rtrim($line, "\r\n") == '-- ') {
                         break;
                     }
                     if (preg_match("/^(>+)/", $line, $matches)) {


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic