From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.180.131 with SMTP id bu3cs34177icb; Tue, 9 Nov 2010 08:14:10 -0800 (PST) Received: by 10.91.42.39 with SMTP id u39mr7152805agj.71.1289319249453; Tue, 09 Nov 2010 08:14:09 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id j64si14084699yha.29.2010.11.09.08.14.09; Tue, 09 Nov 2010 08:14:09 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id DD65119782DC; Tue, 9 Nov 2010 11:14:08 -0500 (EST) Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by rubyforge.org (Postfix) with ESMTP id 3E3C41858346 for ; Tue, 9 Nov 2010 10:22:46 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 18FC8348023 for ; Tue, 9 Nov 2010 07:22:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0XMsc+oroXCu for ; Tue, 9 Nov 2010 07:22:42 -0800 (PST) Received: from perhan.alvh.no-ip.org (unknown [190.95.28.71]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 5EACF348022 for ; Tue, 9 Nov 2010 07:22:42 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E4BCA6E9BC; Tue, 9 Nov 2010 12:22:39 -0300 (CLST) From: Alvaro Herrera To: sup-devel Date: Tue, 09 Nov 2010 12:22:39 -0300 Message-Id: <1289316052-sup-7690@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-1289316159-906358-22545-9183-1-=" Subject: [sup-devel] Fix crash on attachment with / in the name X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --=-1289316159-906358-22545-9183-1-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline This patch fixes an exception when the attachment specifies a filename with slashes. This is rare but possible. -- Álvaro Herrera --=-1289316159-906358-22545-9183-1-= Content-Disposition: attachment; filename="0001-Fix-crash-on-handling-attachment-filenames-with.patch" Content-Type: application/octet-stream; name="0001-Fix-crash-on-handling-attachment-filenames-with.patch" Content-Transfer-Encoding: base64 RnJvbSBjODMwNmU0ZWI2YTlkZTA5ZGJiNjk3Y2Q1MjY2ZWJhYjM4Y2M3YWEw IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbHZhcm8gSGVycmVy YSA8YWx2aGVycmVAYWx2aC5uby1pcC5vcmc+CkRhdGU6IFR1ZSwgOSBOb3Yg MjAxMCAxMjowNzoyNyAtMDMwMApTdWJqZWN0OiBbUEFUQ0ggMS8zXSBGaXgg Y3Jhc2ggb24gaGFuZGxpbmcgYXR0YWNobWVudCBmaWxlbmFtZXMgd2l0aCAv CgotLS0KIGxpYi9zdXAvbWVzc2FnZS1jaHVua3MucmIgfCAgICAyICstCiAx IGZpbGVzIGNoYW5nZWQsIDEgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbnMo LSkKCmRpZmYgLS1naXQgYS9saWIvc3VwL21lc3NhZ2UtY2h1bmtzLnJiIGIv bGliL3N1cC9tZXNzYWdlLWNodW5rcy5yYgppbmRleCBiYTE4MzRhLi4wMmQy OGY2IDEwMDY0NAotLS0gYS9saWIvc3VwL21lc3NhZ2UtY2h1bmtzLnJiCisr KyBiL2xpYi9zdXAvbWVzc2FnZS1jaHVua3MucmIKQEAgLTE2NSw3ICsxNjUs NyBAQCBFT1MKICAgICBlbmQKIAogICAgIGRlZiB3cml0ZV90b19kaXNrCi0g ICAgICBmaWxlID0gVGVtcGZpbGUubmV3KFsic3VwIiwgQGZpbGVuYW1lIHx8 ICJzdXAtYXR0YWNobWVudCJdKQorICAgICAgZmlsZSA9IFRlbXBmaWxlLm5l dyhbInN1cCIsIEBmaWxlbmFtZS5nc3ViKCIvIiwgIl8iKSB8fCAic3VwLWF0 dGFjaG1lbnQiXSkKICAgICAgIGZpbGUucHJpbnQgQHJhd19jb250ZW50CiAg ICAgICBmaWxlLmNsb3NlCiAgICAgICBmaWxlLnBhdGgKLS0gCjEuNy4xCgo= --=-1289316159-906358-22545-9183-1-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel --=-1289316159-906358-22545-9183-1-=--