Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4187534ioo; Wed, 25 May 2022 17:48:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQwKiSN5XHETmZmcgv29NJIteEyhDKcq+3lzY+zM7x7Yv+isJEuUTEpuRw4byNykS6b6vq X-Received: by 2002:a50:eb95:0:b0:42a:b22e:dd8a with SMTP id y21-20020a50eb95000000b0042ab22edd8amr37432092edr.83.1653526093291; Wed, 25 May 2022 17:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653526093; cv=none; d=google.com; s=arc-20160816; b=sMzLOEwRGj2dnErbVxo8sOGvYxaFYIfwb84tPcVZJG425EP7yjo9SnLegtzUGD1O9g BJ/tXabKxFqVt/rVB9Jpmauj72dSasjCnDbGlJcXGchGaNxzXJF1NFnFB3YAM5apDVFz 5oAM3tGb3sghZYzRGJkTl3Ikjw5dn7Pk39IpDef4zwdqGYnhyd9p47UQ7qTROatDkhk9 avLRrUdypaQmNJ8VAODmH4Yr8iP+Hx6nPPAQJX+jUP6dYS9dauuPqLcgxQbeDBJNX7Jy CvkDnWlxzmooFp4Wq1zie1Qcar/Y8CzTnCfuj2YLCwm1Zy+HiY6Nc6A3A4mc41ABemyJ auYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Qd5+ER2BhzV2w5PxoGYsYes48+XBafeuD0iQcbRTDOA=; b=bnWJzlmixb7krgXyc3b9kUwWX0oh+xL81yA99Ub4HWh/L2x9BK4AKCh4xmmt7XYdz0 FbMh28EpG6HjMWZsfy47H6NXgmGHzTLis1ye8wcxWP0aWtBWEePixtm6ygqdDTkY5PKs w7dkVEVQVpeCOYfi8sYB2AhgEJR5k7Rt00293ucqu99qN9IVddbBhlvExftTq1oagEDV Iji9PWo/6Dy/e7oUYrYdHagfJYY/y65zE5mUjiLXK9aFk/irniqloISneb9fszdLFVv3 himU2DR4dTGcoD8Nr91wUqK1ckzrhhS9aM6t7K2i3E2tIWLSvabQrMEIB4JZ3PY186qf SOKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb2-20020a1709071c8200b006e8c6b43fe4si191820ejc.27.2022.05.25.17.47.47; Wed, 25 May 2022 17:48:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237454AbiEYTXy (ORCPT + 99 others); Wed, 25 May 2022 15:23:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbiEYTXx (ORCPT ); Wed, 25 May 2022 15:23:53 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E097D47ACF for ; Wed, 25 May 2022 12:23:51 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntwbY-0004JI-2T; Wed, 25 May 2022 21:23:36 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ntwbX-004XU8-S5; Wed, 25 May 2022 21:23:34 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ntwbV-00C6hw-HB; Wed, 25 May 2022 21:23:33 +0200 Date: Wed, 25 May 2022 21:23:29 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: David Woodhouse Cc: Geert Uytterhoeven , Krzysztof Kozlowski , mark@msapiro.net, workflows@vger.kernel.org, Konstantin Ryabitsev , "linux-arm-kernel@lists.infradead.org" , MTD Maling List , Linux Kernel Mailing List , Arnd Bergmann , Miquel Raynal Subject: Re: Getting rid of infradead.org - corrupted subjects Message-ID: <20220525192329.iomxf2imkaymbjc3@pengutronix.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tybjbooddzx3c3qw" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tybjbooddzx3c3qw Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 25, 2022 at 10:55:18AM +0100, David Woodhouse wrote: > On Wed, 2022-05-25 at 10:34 +0200, Geert Uytterhoeven wrote: > > CC dwmw2 >=20 > Thanks, Geert. >=20 > > On Wed, May 25, 2022 at 10:07 AM Krzysztof Kozlowski > > wrote: > >=20 > > > The address list is semi-random as I don't know whom to approach. > > > Problem: infradead.org corrupts email subjects by changing: > > > s/,/, / >=20 > I found an old thread on mailman-users which appears to be claiming > that it's just standard folding as described in RFC2822 =A72.2.3. >=20 > https://mail.python.org/pipermail/mailman-users/2007-May/057119.html >=20 > 2.2.3. Long Header Fields >=20 > Each header field is logically a single line of characters comprising > the field name, the colon, and the field body. For convenience > however, and to deal with the 998/78 character limitations per line, > the field body portion of a header field can be split into a multiple > line representation; this is called "folding". The general rule is > that wherever this standard allows for folding white space (not > simply WSP characters), a CRLF may be inserted before any WSP. For > example, the header field: >=20 > Subject: This is a test >=20 > can be represented as: >=20 > Subject: This > is a test >=20 > But this is folding at a *comma*, not at whitespace. The original > subject line was (in a single line): >=20 > Subject: [PATCH v2] dt-bindings: mtd: jedec,spi-nor: remove unneeded prop= erties >=20 > ... and Mailman 'folded' it in the wrong place to: >=20 > Subject: [PATCH v2] dt-bindings: mtd: jedec, > spi-nor: remove unneeded properties >=20 > That *isn't* proper folding because it didn't happen at a whitespace. >=20 > I do need to upgrade to Mailman 3 at some point; I've been > procrastinating on the basis that it "ain't broke". For the time being > I've just disabled folding in MM2 with a trivial hack: >=20 > --- Message.py.orig 2022-05-25 02:51:05.917145192 -0700 > +++ Message.py 2022-05-25 02:50:44.137142069 -0700 > @@ -49,7 +49,7 @@ class Generator(email.Generator.Generato > Headers will by default _not_ be folded in attachments. > """ > def __init__(self, outfp, mangle_from_=3DTrue, > - maxheaderlen=3D78, children_maxheaderlen=3D0): > + maxheaderlen=3D0, children_maxheaderlen=3D0): > email.Generator.Generator.__init__(self, outfp, > mangle_from_=3Dmangle_from_, maxheaderlen=3Dmaxheaderlen) > self.__children_maxheaderlen =3D children_maxheaderlen For the record: Some time ago I debugged that myself, too and found an equivalent change. So this looks good to me. Best regards and thanks for caring, Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --tybjbooddzx3c3qw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmKOgi4ACgkQwfwUeK3K 7AmUrgf9GplHRJVMfpm/l5d2OZURTa/slOVqodg2MpZPAwt8fWVpX+FQtESCPDQf YSDFbyz8b0ytHlJRZ/FGjrSUHLXOpgAEqfofXJEYJul+Yt5GRAhpy2spNrP3fg93 O2+h0AnTRP2KK4ksMHccZOhzBbL/qGPwq2ekaa12HOGsQaAe+fQHZuCMGnW2RufU QXlYmBO3m3QbuPCDyMZNSIf61LA8ogRq9sCmbjbL42RHwoA2l30psHJDLodyHVLu qkzh6XfeMxfmGKC20/WW/uqH8/xarMcmMIsjjbIT+9NUPkrZ7D15hct+6PUmdjxV B/LajT9mPt5p+tkbhZ/BxIXGY5iySA== =MXTp -----END PGP SIGNATURE----- --tybjbooddzx3c3qw--