[Rt-commit] rt branch, 4.4.1/gpg-outlook, updated. rt-4.4.1-2-g4f2cf77

Aaron Kondziela aaron at bestpractical.com
Thu May 11 12:34:06 EDT 2017


The branch, 4.4.1/gpg-outlook has been updated
       via  4f2cf77a8eee221e49fdef948ba333ae36bd7151 (commit)
      from  dc6550a0274277e4327a36f5da1f1ec4f7f91b8f (commit)

Summary of changes:
 lib/RT/Crypt/GnuPG.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 4f2cf77a8eee221e49fdef948ba333ae36bd7151
Author: Aaron Kondziela <aaron at bestpractical.com>
Date:   Thu May 11 12:34:56 2017 -0400

    Fix missing curly brace

diff --git a/lib/RT/Crypt/GnuPG.pm b/lib/RT/Crypt/GnuPG.pm
index 5a6fd96..74c16a9 100644
--- a/lib/RT/Crypt/GnuPG.pm
+++ b/lib/RT/Crypt/GnuPG.pm
@@ -1220,7 +1220,7 @@ sub DecryptAttachment {
         # http://www.ietf.org/mail-archive/web/openpgp/current/msg01811.html
         $head->mime_attr( "Content-Type" => 'text/html' );
         $head->mime_attr( "Content-Disposition" => "inline" );
-    elsif ($head->recommended_filename =~ /^PGPexch\.rtf/i) {
+    } elsif ($head->recommended_filename =~ /^PGPexch\.rtf/i) {
         # Special-case for handling old-style PGP plugin for Outlook style
         # attachements of RTF content. These remain as attachments and are
         # not to be inlined; RTF is for Outlook only.

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


More information about the rt-commit mailing list