Hi
The archives mangled a URL in the following message:
http://www.postgresql.org/message-id/CAEepm=03=BT=NSEbufQ6JTvWVC2fm3jyddLfUi66fn2cJ727rw@mail.gmail.com
Perhaps the pattern needs tweaking, something like this?
diff --git a/django/archives/mailarchives/templatetags/pgfilters.py
b/django/archives/mailarchives/templatetags/pgfilters.py
index 337a1a3..577ff03 100644
--- a/django/archives/mailarchives/templatetags/pgfilters.py
+++ b/django/archives/mailarchives/templatetags/pgfilters.py
@@ -23,7 +23,7 @@ def hidemail(value):## Those are not email addresses, so ignore them. The links won't work if they#
aremangled.
-_re_mail = re.compile('(/message-id/)?[^()<>@,;:\/\s"\'&|]+@[^()<>@,;:\/\s"\'&|]+')
+_re_mail = re.compile('(/message-id/|/message-id/flat/)?[^()<>@,;:\/\s"\'&|]+@[^()<>@,;:\/\s"\'&|]+')def
_rewrite_email_match(match): if match.group(1): return match.group(0) # was preceded by
/message-id/
Or perhaps, instead of trying to recognise URLs that point back into
the archives, it shouldn't mangle anything that looks like a URL.
--
Thomas Munro
http://www.enterprisedb.com