From owner-freebsd-python@FreeBSD.ORG Tue Oct 17 03:49:10 2006 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6460216A407; Tue, 17 Oct 2006 03:49:10 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0C1343D53; Tue, 17 Oct 2006 03:49:09 +0000 (GMT) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.2.68] (bofh.straycat.dhs.org [192.168.2.68]) by straycat.dhs.org (8.13.4/8.13.4) with ESMTP id k9H3n5eW018046; Mon, 16 Oct 2006 23:49:07 -0400 (EDT) From: Tom McLaughlin To: "Brian A. Seklecki" In-Reply-To: <1161030243.37174.64.camel@soundwave.pgh.priv.collaborativefusion.com> References: <4533E49D.2000005@collaborativefusion.com> <200610162205.48003@news.perlig.de> <1161030243.37174.64.camel@soundwave.pgh.priv.collaborativefusion.com> Content-Type: multipart/mixed; boundary="=-BX+DxyKeLNgOTPExWj13" Date: Mon, 16 Oct 2006 23:49:04 -0400 Message-Id: <1161056944.5141.18.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 FreeBSD GNOME Team Port Cc: =?ISO-8859-1?Q?Andr=E9?= Malo , "Brian J. Creasy" , python@freebsd.org, az@freebsd.org, netops@collaborativefusion.com Subject: Re: [netops] Re: svnmailer issue X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Oct 2006 03:49:10 -0000 --=-BX+DxyKeLNgOTPExWj13 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On Mon, 2006-10-16 at 16:24 -0400, Brian A. Seklecki wrote: > Wow thanks for the quick response! > > Very concerning that a double-point version upgrade would change > something as important as MIME quoted-printable settings. We patched it > because of a vulnerability; perhaps that was related, but I don't really > troll the Phython CVS-commit mailing list of these things. > > CC'ing the relative FreeBSD port maintainers. > > Affected package: python-2.4.3 > Type of problem: python -- buffer overrun in repr() for unicode strings. > Reference: > > > TIA, > ~BAS > I don't use svnmailer and it's a little late here but is the attached patch correct? In addition, the 1.0.6 tarball was rerolled. Anyone have a copy of the old one that can be compared to the new one to see what changes have been made? Maybe this secondary problem can wait until after freeze since we have a copy of the distfile cached on the FBSD mirrors. => Attempting to fetch from http://storage.perlig.de/svnmailer/archive/. fetch: http://storage.perlig.de/svnmailer/archive/svnmailer-1.0.6.tar.gz: size mismatch: expected 398025, actual 401649 az@, any comments? tom > On Mon, 2006-10-16 at 22:05 +0200, André Malo wrote: > > * Brian J. Creasy wrote: > > > > > Greetings, > > > > > > We have been using your svnmailer utility for about a year now on our > > > production repository server. It has worked perfectly up until Friday > > > when we upgraded python from 2.4.2 to 2.4.3. When we upgraded, it > > > started to display messages strangely. If a line is longer than 80 > > > characters, it is forced to wrap and a '=' is placed at the end of line. > > > It also adds "3D" near every instance of a '='. This presents a > > > problem with URLs to our ViewVC system along with readability of our > > > commit messages. > > > > Yeah, this is in incompatible change in python 2.4.3 which results in double > > encoded content (what you see is MIME quoted-printable). You can workaround > > this problem by configuring > > > > mail_transfer_encoding = 8bit > > > > The problem is fixed in version 1.1, which will be released once I find > > enough time to spare... > > Sorry for the inconvenience. > > > > nd -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | | BSD# http://www.mono-project.com/Mono:FreeBSD | --=-BX+DxyKeLNgOTPExWj13 Content-Disposition: attachment; filename=patch-src_lib_svnmailer_settings.py Content-Type: text/x-patch; name=patch-src_lib_svnmailer_settings.py; charset=us-ascii Content-Transfer-Encoding: 7bit --- src/lib/svnmailer/settings.py.orig Mon Oct 16 23:44:28 2006 +++ src/lib/svnmailer/settings.py Mon Oct 16 23:44:50 2006 @@ -163,7 +163,7 @@ 'long_mail_action' : ('mailaction', {'map': True}), 'long_news_action' : ('mailaction', {'map': True}), 'mail_type' : ('unicode', {'map': True}), - 'mail_transfer_encoding' : 'unicode', + 'mail_transfer_encoding' : '8bit', 'news_transfer_encoding' : 'unicode', 'custom_header' : ('unicode', {'subst': True, 'map': True}), --=-BX+DxyKeLNgOTPExWj13--