From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.87.14 with SMTP id k14cs1283954agb; Wed, 30 Dec 2009 22:43:57 -0800 (PST) Received: by 10.224.96.103 with SMTP id g39mr710694qan.275.1262241835996; Wed, 30 Dec 2009 22:43:55 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 9si14302911qyk.129.2009.12.30.22.43.55; Wed, 30 Dec 2009 22:43:55 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 823EE1D78877; Thu, 31 Dec 2009 01:43:55 -0500 (EST) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by rubyforge.org (Postfix) with ESMTP id 84B8A15B802A for ; Thu, 31 Dec 2009 01:43:48 -0500 (EST) Received: by qw-out-2122.google.com with SMTP id 9so2086078qwb.29 for ; Wed, 30 Dec 2009 22:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :date:message-id:user-agent:content-transfer-encoding; bh=eDzU0BydhaUsph1quYjSa+mz5P5E+2bpsGdTFsmUV9Y=; b=pvHToefjVhQ8iNEtWDKfvr0r87qw+IVo1e4zBhB8C9zxSnwMZSCjFaUqbabYKjnG8i gno/n9meY50kzUS/Twt6PLWLsY9KIJ0L1+W4l0+5XCIA0pBZlIRcQH3Q0wK4Jq9nM0XR 07Ki9MdfkGmI8Hk2b4488CUGCm1E5kgEV41Wo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:date:message-id:user-agent :content-transfer-encoding; b=WEOegKsMSUUFqD8wliAE8z8ZveJw0uqAK3fvtieTMq1WtUogJYdu3q6b2BVbFnwxjd 7dvF1hFEJ0VV5sc4IMbWPzGwS6B1SStO6vo1w+YS0QF/sLlGTI48Ov+egHLSl5esl89c O9oEj5iEvTG2nQVD6aQE3cywm+st2voqXF6kg= Received: by 10.224.24.212 with SMTP id w20mr9142213qab.229.1262241827342; Wed, 30 Dec 2009 22:43:47 -0800 (PST) Received: from localhost (c-76-98-110-216.hsd1.nj.comcast.net [76.98.110.216]) by mx.google.com with ESMTPS id 5sm38728278qwg.38.2009.12.30.22.43.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 22:43:45 -0800 (PST) From: Eric Sherman To: sup-devel Date: Thu, 31 Dec 2009 01:43:43 -0500 Message-Id: <1262241818-sup-6917@changeling.local> User-Agent: Sup/git Subject: [sup-devel] [PATCH] fixed a typo in parse_header 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org On the initial sup-sync when trying to use xapian for the first time, one of my headers apparently triggered this edge case. --- lib/sup/message.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/sup/message.rb b/lib/sup/message.rb index 9d22508..bb7d4cd 100644 --- a/lib/sup/message.rb +++ b/lib/sup/message.rb @@ -117,7 +117,7 @@ class Message @list_address = if header["list-post"] address = if header["list-post"] =~ /mailto:(.*?)[>\s$]/ $1 - elsif list-post =~ /@/ + elsif header["list-post"] =~ /@/ header["list-post"] # just try the whole fucking thing end address && Person.from_address(address) -- 1.6.5.7 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel