From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.pouillard@gmail.com (Nicolas Pouillard) Date: Sun, 25 Nov 2007 12:28:34 +0100 Subject: [sup-talk] Weird behaviour saving attachments. In-Reply-To: <1195925357-sup-8894@south> References: <1195899951-sup-7842@ausone.local> <1195925357-sup-8894@south> Message-ID: <1195990103-sup-5438@ausone.local> 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