[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.21-20-g2f44a4b
Alex Vandiver
alexmv at bestpractical.com
Tue Sep 2 20:01:13 EDT 2014
The branch, 4.0-trunk has been updated
via 2f44a4b6623aeab3d632beeb70b6499697180626 (commit)
via ceebd1562ab34d4749181ebc870c64168d51e3c4 (commit)
from 6568629efd3eef07f1c964f7ceebb1dccd1aea31 (commit)
Summary of changes:
lib/RT/EmailParser.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit ceebd1562ab34d4749181ebc870c64168d51e3c4
Author: Christian Loos <cloos at netcologne.de>
Date: Tue Sep 2 11:59:08 2014 +0200
Silence undef warning in EmailParser
For emails without Content-Transfer-Encoding header.
diff --git a/lib/RT/EmailParser.pm b/lib/RT/EmailParser.pm
index 67f602f..0b0e5c1 100644
--- a/lib/RT/EmailParser.pm
+++ b/lib/RT/EmailParser.pm
@@ -619,7 +619,7 @@ sub RescueOutlook {
# Add base64 since we've seen examples of double newlines with
# this type too. Need an example of a multi-part base64 to
# handle that permutation if it exists.
- elsif ( $mime->head->get('Content-Transfer-Encoding') =~ m{base64} ) {
+ elsif ( ($mime->head->get('Content-Transfer-Encoding')||'') =~ m{base64} ) {
$text_part = $mime; # Assuming single part, already decoded.
}
commit 2f44a4b6623aeab3d632beeb70b6499697180626
Merge: 6568629 ceebd15
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Sep 2 20:01:00 2014 -0400
Merge branch '4.0/silence-email-parser-undef-warning' into 4.0-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list