Hi,

[HUV] VS:  VS:  VS:  VS:  VS:  VS:  VS:  VS:  Järvenpää

So, Here you see that as normal Re: is instead VS:


Such a localized Re: altanative can cause troubles:
http://www.geocities.com/vsre_2000/
(I can't read Finnish. It just hit google search. ;-)

I'm running Mailman 2.1.6 on a Debian-woody server.

Here is your patch.  We have already integrated German and Dannish dialects.


--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
Index: Mailman/Handlers/CookHeaders.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/CookHeaders.py,v
retrieving revision 2.40
diff -u -r2.40 CookHeaders.py
--- Mailman/Handlers/CookHeaders.py     28 Aug 2005 05:31:27 -0000      2.40
+++ Mailman/Handlers/CookHeaders.py     1 Nov 2005 12:22:55 -0000
@@ -268,7 +268,7 @@
     else:
         old_style = mm_cfg.OLD_STYLE_PREFIXING
     subject = re.sub(prefix_pattern, '', subject)
-    rematch = re.match('((RE|AW|SV)(\[\d+\])?:\s*)+', subject, re.I)
+    rematch = re.match('((RE|AW|SV|VS)(\[\d+\])?:\s*)+', subject, re.I)
     if rematch:
         subject = subject[rematch.end():]
         recolon = 'Re:'
Index: Mailman/Archiver/HyperArch.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Archiver/HyperArch.py,v
retrieving revision 2.45
diff -u -r2.45 HyperArch.py
--- Mailman/Archiver/HyperArch.py       31 Oct 2005 04:33:38 -0000      2.45
+++ Mailman/Archiver/HyperArch.py       1 Nov 2005 12:22:56 -0000
@@ -428,7 +428,7 @@
             prefix_pat = re.sub(r'%\d*d', r'\s*\d+\s*', prefix_pat)
             subject = re.sub(prefix_pat, '', subject)
         subject = subject.lstrip()
-        strip_pat = re.compile('^((RE|AW|SV)(\[\d+\])?:\s*)+', re.I)
+        strip_pat = re.compile('^((RE|AW|SV|VS)(\[\d+\])?:\s*)+', re.I)
         stripped = strip_pat.sub('', subject)
         return stripped
 
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to