[rt-commit] [svn] r541 - rt/trunk/lib/RT

jesse at fsck.com jesse at fsck.com
Wed Mar 10 23:33:31 EST 2004


Author: jesse
Date: Wed Mar 10 23:33:31 2004
New Revision: 541

Modified:
   rt/trunk/lib/RT/Transaction_Overlay.pm
Log:

#3981: RT truncates signatures too agressively when quoting messages



Modified: rt/trunk/lib/RT/Transaction_Overlay.pm
==============================================================================
--- rt/trunk/lib/RT/Transaction_Overlay.pm	(original)
+++ rt/trunk/lib/RT/Transaction_Overlay.pm	Wed Mar 10 23:33:31 2004
@@ -203,7 +203,7 @@
     if ( $args{'Quote'} ) {
 
         # Remove quoted signature.
-        $content =~ s/\n-- \n(.*)$//s;
+        $content =~ s/\n-- \n(.*?)$//s;
 
         # What's the longest line like?
         my $max = 0;
@@ -793,7 +793,7 @@
   {
      'cache_p'        => 1,
      'fast_update_p'  => 1,
-     'cache_for_sec'  => 180,
+     'cache_for_sec'  => 6000,
   }
 }
 1;



More information about the Rt-commit mailing list