[Rt-commit] rt branch, 4.0/octet-typo-fix, created. rt-4.0.1rc1-18-g84f1cec
? sunnavy
sunnavy at bestpractical.com
Tue Jun 14 23:56:08 EDT 2011
The branch, 4.0/octet-typo-fix has been created
at 84f1cecaae95468d83d8fa2d8e3c6d3714357060 (commit)
- Log -----------------------------------------------------------------
commit 84f1cecaae95468d83d8fa2d8e3c6d3714357060
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Jun 15 11:46:33 2011 +0800
typo fix for octet-stream
diff --git a/lib/RT/Attachment.pm b/lib/RT/Attachment.pm
index 7fc9aba..ce80d53 100644
--- a/lib/RT/Attachment.pm
+++ b/lib/RT/Attachment.pm
@@ -719,7 +719,7 @@ sub Decrypt {
my $type = $self->ContentType;
if ( $type =~ /^x-application-rt\/gpg-encrypted/i ) {
($type) = ($type =~ /original-type="(.*)"/i);
- $type ||= 'application/octeat-stream';
+ $type ||= 'application/octet-stream';
} else {
return (1, $self->loc('Is not encrypted'));
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list