[Rt-commit] r9340 - in rt/branches/3.7-RTIR-RELENG: html/Ticket/Elements

sartak at bestpractical.com sartak at bestpractical.com
Wed Oct 17 16:10:08 EDT 2007


Author: sartak
Date: Wed Oct 17 16:09:57 2007
New Revision: 9340

Modified:
   rt/branches/3.7-RTIR-RELENG/   (props changed)
   rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowGnuPGStatus

Log:
 r43825 at onn:  sartak | 2007-10-17 16:09:30 -0400
 Use the right header for checking whether the email came from RT or the outside world (Received)


Modified: rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowGnuPGStatus
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowGnuPGStatus	(original)
+++ rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowGnuPGStatus	Wed Oct 17 16:09:57 2007
@@ -70,9 +70,9 @@
 
     $needs_unsigned_warning = 0 if /^X-RT-Incoming-Signature:/;
 
-    # if this is set, then the email is generated by RT, and so we don't
+    # if this is not set, then the email is generated by RT, and so we don't
     # need "email is unsigned" warnings
-    $needs_unsigned_warning = 0 if /^X-RT-Loop-Prevention:/;
+    $needs_unsigned_warning = 0 if not /^Received:/;
 }
 
 return unless @runs or $needs_unsigned_warning;


More information about the Rt-commit mailing list