[Rt-commit] r14697 - rt/3.8/trunk/lib/RT/Crypt
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jul 31 15:06:50 EDT 2008
Author: ruz
Date: Thu Jul 31 15:06:47 2008
New Revision: 14697
Modified:
rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm
Log:
* Fix inline encryption of attachments, thanks to Juan C. Montes
for spotting and providing patch.
Modified: rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm (original)
+++ rt/3.8/trunk/lib/RT/Crypt/GnuPG.pm Thu Jul 31 15:06:47 2008
@@ -766,7 +766,7 @@
} else {
$entity->bodyhandle( new MIME::Body::File $tmp_fn );
$entity->effective_type('application/octet-stream');
- $args{'Data'}->head->mime_attr( $_ => "$filename.pgp" )
+ $entity->head->mime_attr( $_ => "$filename.pgp" )
foreach (qw(Content-Type.name Content-Disposition.filename));
}
More information about the Rt-commit
mailing list