[Rt-commit] rt branch, 4.4/fix-outbound-encryption, updated. rt-4.4.0-271-g45340e2
Dustin Graves
dustin at bestpractical.com
Mon Jul 25 19:39:57 EDT 2016
The branch, 4.4/fix-outbound-encryption has been updated
via 45340e2509dd1983add59edae03824483ad0280b (commit)
from aa5ff92eb5dab3d065e2a446d6a0573ffb08471a (commit)
Summary of changes:
lib/RT/Ticket.pm | 6 ++++++
1 file changed, 6 insertions(+)
- Log -----------------------------------------------------------------
commit 45340e2509dd1983add59edae03824483ad0280b
Author: Dustin Graves <dustin at bestpractical.com>
Date: Mon Jul 25 23:38:23 2016 +0000
add expected X-RT-Sign and X-RT-Encrypt headers when forwarding tickets
RT::Interface::Email::WillSignEncrypt uses this to determine whether
signatures and/or encryption will be used on outgoing emails
diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
index 3fa0557..b8917c1 100644
--- a/lib/RT/Ticket.pm
+++ b/lib/RT/Ticket.pm
@@ -3007,6 +3007,12 @@ sub Forward {
)
);
+ for my $argument (qw(Encrypt Sign)) {
+ if ( defined $args{ $argument } ) {
+ $mime->head->replace( "X-RT-$argument" => $args{$argument} ? 1 : 0 );
+ }
+ }
+
my ( $ret, $msg ) = $self->_NewTransaction(
$args{Transaction}
? (
-----------------------------------------------------------------------
More information about the rt-commit
mailing list