Hi, Sometimes when I save attachment the file name is not properly unquoted and then save a file with double quotes in the name (e.g. "foo.bar"). Best regards, -- Nicolas Pouillard aka Ertai
Excerpts from nicolas.pouillard''s message of Sat Nov 24 02:25:57 -0800 2007:> Sometimes when I save attachment the file name is not properly > unquoted and then save a file with double quotes in the name (e.g. > "foo.bar").Can you track down the MIME header in the raw message that names the attachment? If you save the message to disk with ''s'' and search the file for "filename", you should see it. (Probably a Content-Disposition header.) -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Sat Nov 24 18:34:28 +0100 2007:> Excerpts from nicolas.pouillard''s message of Sat Nov 24 02:25:57 -0800 2007: > > Sometimes when I save attachment the file name is not properly > > unquoted and then save a file with double quotes in the name (e.g. > > "foo.bar"). > > Can you track down the MIME header in the raw message that names the > attachment? > > If you save the message to disk with ''s'' and search the file for > "filename", you should see it. (Probably a Content-Disposition header.) >It was the name attribute of the Content-Type header that was not unquoted like Content-Disposition filename. Here is a patch as attachment. -- Nicolas Pouillard aka Ertai -------------- next part -------------- A non-text attachment was scrubbed... Name: unquote-content-type-name.patch Type: application/octet-stream Size: 494 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071125/287d1205/attachment.obj
Excerpts from nicolas.pouillard''s message of Sun Nov 25 03:28:34 -0800 2007:> It was the name attribute of the Content-Type header that was not > unquoted like Content-Disposition filename. Here is a patch as > attachment.Applied. Thanks! -- William <wmorgan-sup at masanjin.net>