From bfab13579b71ce47bc023a48fe1298d55fb8f015 Mon Sep 17 00:00:00 2001 From: wmorgan Date: Wed, 29 Nov 2006 02:15:22 +0000 Subject: [PATCH] ignore all multipart/ mime chunks git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@45 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- lib/sup/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/message.rb b/lib/sup/message.rb index 5ceab55..69f4f02 100644 --- a/lib/sup/message.rb +++ b/lib/sup/message.rb @@ -210,7 +210,7 @@ private m.body body = m.decode or raise MessageFormatError, "no message body" text_to_chunks body.gsub(/\t/, " ").gsub(/\r/, "").split("\n") - when "multipart/alternative", "multipart/mixed" + when /^multipart\// nil else disp = m.header["Content-Disposition"] || "" -- 2.45.2