* [sup-devel] [PATCH] fixed a typo in parse_header
@ 2009-12-31 6:43 Eric Sherman
2009-12-31 19:45 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sherman @ 2009-12-31 6:43 UTC (permalink / raw)
To: sup-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-31 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31 6:43 [sup-devel] [PATCH] fixed a typo in parse_header Eric Sherman
2009-12-31 19:45 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox