[Rt-commit] r9583 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Nov 6 07:07:25 EST 2007
Author: ruz
Date: Tue Nov 6 07:07:23 2007
New Revision: 9583
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGnuPGStatus
Log:
r9341 at cubic-pc (orig r9340): sartak | 2007-10-18 00:09:57 +0400
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-EXPERIMENTAL/html/Ticket/Elements/ShowGnuPGStatus
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGnuPGStatus (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowGnuPGStatus Tue Nov 6 07:07:23 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