From e565a87da1a41016155cfd08c326e36901cb7531 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Tue, 17 Feb 2004 19:27:46 +0000 Subject: _escape(): Everything except the 'info' variable gets the normal web-safe escaping. 'info' sanitizes just tags. This partially closes bugs 870028 and 881369. --- Mailman/Gui/General.py | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'Mailman') diff --git a/Mailman/Gui/General.py b/Mailman/Gui/General.py index a33d1004..7cf1ee06 100644 --- a/Mailman/Gui/General.py +++ b/Mailman/Gui/General.py @@ -1,22 +1,24 @@ -# Copyright (C) 2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2004 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software +# along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """MailList mixin class managing the general options. """ +import re + from Mailman import mm_cfg from Mailman import Utils from Mailman import Errors @@ -174,7 +176,7 @@ class General(GUIBase): messages, overriding the header in the original message if necessary (Explicit address inserts the value of reply_to_address). - +
There are many reasons not to introduce or override the Reply-To: header. One is that some posters depend on their own Reply-To: settings to convey their valid @@ -283,7 +285,7 @@ class General(GUIBase):