From f2ee215becb62fb33dfb8e81ded65ec809a24a7f Mon Sep 17 00:00:00 2001
From: Jeremy Kemper <jeremy@bitsweat.net>
Date: Tue, 15 Nov 2005 08:36:38 +0000
Subject: Stricter matching for implicitly multipart filenames excludes files
 ending in unsupported extensions (such as foo.rhtml.bak) and without a
 two-part content type (such as foo.text.rhtml or
 foo.text.really.plain.rhtml).  Closes #2398.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 .../test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml | 1 +
 .../test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak     | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml
 create mode 100644 actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak

(limited to 'actionmailer/test/fixtures/test_mailer')

diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml
new file mode 100644
index 0000000000..6940419d47
--- /dev/null
+++ b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml
@@ -0,0 +1 @@
+Ignored when searching for implicitly multipart parts.
diff --git a/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak
new file mode 100644
index 0000000000..6940419d47
--- /dev/null
+++ b/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak
@@ -0,0 +1 @@
+Ignored when searching for implicitly multipart parts.
-- 
cgit v1.2.3