rails/rails — pull request #14158 by raindrift (2014-02-22 09:49:36+00:00)
Title: Attaching a file with quotes in the name doesn't work

Here's a failing spec that demonstrates this case.

Expected behavior: Either the file is attached with the quotes properly escaped in the Content-Disposition, or an exception is thrown.
Actual behavior: The attachment is not added to the attachments list.

I'm not sure how best to fix this, but this test case should at least isolate the problem.

Thanks!