From 1b43222b7b230df7452a983a636d41cd8e847601 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Thu, 26 Dec 2002 17:24:36 +0000 Subject: __processbody_URLquote(): Tokio Kikuchi's patch #658598 to fix rc1 bug in email obscuring in the body of the message. --- Mailman/Archiver/HyperArch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index 60db2b0e6..98fb57383 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -1123,6 +1123,7 @@ class HyperArchive(pipermail.T): k = kr.start(0) if j != -1 and (j < k or k == -1): text = jr.group(1) + length = len(text) if mm_cfg.ARCHIVER_OBSCURES_EMAILADDRS: text = re.sub('@', _(' at '), text) URL = self.maillist.GetScriptURL( @@ -1132,10 +1133,11 @@ class HyperArchive(pipermail.T): pos = j elif k != -1 and (j > k or j == -1): text = URL = kr.group(1) + length = len(text) pos = k else: # j==k raise ValueError, "j==k: This can't happen!" - length = len(text) + #length = len(text) #self.message("URL: %s %s %s \n" # % (CGIescape(L[:pos]), URL, CGIescape(text))) L2 += '%s%s' % ( -- cgit v1.3.1