aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib/action_mailer/vendor/tmail/encode.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-26 13:14:54 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-26 13:14:54 +0000
commit87b1d3834f135390375f2fa06e9b2a22ade0b5cb (patch)
tree27820e0ae0b55153fd49c9e9fcca54c6210ec464 /actionmailer/lib/action_mailer/vendor/tmail/encode.rb
parentdf7a4d498c542a57d99622e160b3ede3d8b688a9 (diff)
downloadrails-87b1d3834f135390375f2fa06e9b2a22ade0b5cb.tar.gz
rails-87b1d3834f135390375f2fa06e9b2a22ade0b5cb.tar.bz2
rails-87b1d3834f135390375f2fa06e9b2a22ade0b5cb.zip
Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 [lon@speedymac.com] Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 [lon@speedymac.com] Fixed that TMail::Encoder would fail when it attempts to parse e-mail addresses which are encoded using something other than the messages encoding method #919 [lon@speedymac.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionmailer/lib/action_mailer/vendor/tmail/encode.rb')
-rwxr-xr-xactionmailer/lib/action_mailer/vendor/tmail/encode.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/vendor/tmail/encode.rb b/actionmailer/lib/action_mailer/vendor/tmail/encode.rb
index 8f33386f4d..c0909f30d2 100755
--- a/actionmailer/lib/action_mailer/vendor/tmail/encode.rb
+++ b/actionmailer/lib/action_mailer/vendor/tmail/encode.rb
@@ -295,7 +295,7 @@ module TMail
else
raise 'TMail FATAL: encoder scan fail'
end
- str = m.post_match
+ (str = m.post_match) unless m.nil?
end
do_encode types, strs