From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38840 Path: main.gmane.org!not-for-mail From: Chris Halverson Newsgroups: gmane.emacs.gnus.general Subject: Attachments and quotes around names Date: 19 Sep 2001 12:15:28 -0500 Organization: Complete Internet Solutions Sender: cdh@mail.completeis.com Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174641 24678 80.91.224.250 (21 Oct 2002 04:30:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:30:41 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 15807 invoked from network); 19 Sep 2001 17:15:31 -0000 Original-Received: from enterprise.completeis.com (206.144.247.9) by gnus.org with SMTP; 19 Sep 2001 17:15:31 -0000 Original-Received: from sunray.completeis.com (sunray.completeis.com [206.8.152.240]) by enterprise.CompleteIS.com (8.11.6/8.11.6) with ESMTP id f8JHFUN21265 for ; Wed, 19 Sep 2001 12:15:30 -0500 (CDT) Original-Received: (from cdh@localhost) by sunray.completeis.com (8.9.3/8.9.3) id MAA19682; Wed, 19 Sep 2001 12:15:28 -0500 (CDT) X-Authentication-Warning: sunray.completeis.com: cdh set sender to cdh@CompleteIS.com using -f Original-To: ding@gnus.org X-URL: http://www.CompleteIS.com/~cdh/ X-Attribution: cdh User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:38840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38840 I installed a sendmail filter today (Ray's Mail Filter FWIW) and needed to test it. In order to do so, I needed to send an attachment and see if it rejected it or not. The filter uses a set of regexps such as: name=\".*\.vbs\" This checks the Content-Disposition header for that regexp. When I sent a message w/ Gnus that header looks like: Content-Disposition: attachment; filename=test.vbs Note that there are no quotes around the filename value. I, of course, didn't notice this subtle fact for a while and banged my head on this thing for about a half hour until I noticed it. When I send a test message w/ Pine, it shows it as: Content-Disposition: attachment; filename="test.vbs" Mutt and Outlook do it this way too. Now, I know that nobody using Gnus would send out anything like this, but it just seems "odd" that Gnus doesn't put quotes around it. Doesn't it? Should it? I've never had problems with it (as far as I know), but it doesn't seem that it's very standard. Anyway, just a FYI. cdh -- Chris D. Halverson Complete Internet Solutions (612) 279-2106 http://www.completeis.com/