[Bps-public-commit] RT-BugTracker-Public branch, master, updated. 226ceea515fa576c10d81c298ea5145ba6962ae6

Thomas Sibley trs at bestpractical.com
Mon Jan 23 18:41:12 EST 2012


The branch, master has been updated
       via  226ceea515fa576c10d81c298ea5145ba6962ae6 (commit)
      from  f91738fb4715428baabb44f3eeb41bcbc5ab7485 (commit)

Summary of changes:
 .../Ticket/Elements/ShowMessageHeaders/Default     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 226ceea515fa576c10d81c298ea5145ba6962ae6
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Mon Jan 23 18:27:51 2012 -0500

    Munge addresses in RT's internal RT-Send-* headers too

diff --git a/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default b/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
index 095a798..43ee056 100644
--- a/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
+++ b/html/Callbacks/BugTracker-Public/Ticket/Elements/ShowMessageHeaders/Default
@@ -6,7 +6,7 @@ return unless RT::BugTracker::Public->IsPublicUser;
 
 # Protect email addresses
 for my $h (@$headers) {
-    next unless $h->{'Tag'} =~ /^(?:From|To|Cc|Bcc|Reply-To)$/i;
+    next unless $h->{'Tag'} =~ /^(?:From|(?:RT-Send-)?(?:To|Cc|Bcc)|Reply-To)$/i;
     $h->{'Value'} =~ s/@/ [...] /g;
 }
 </%init>

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



More information about the Bps-public-commit mailing list