[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sup-devel] [PATCH] fixed a typo in parse_header
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