Hello, On Tue, Feb 15, 2022 at 01:58:56PM +0100, Uwe Kleine-König wrote: > On Tue, Feb 15, 2022 at 01:41:20PM +0100, Krzysztof Kozlowski wrote: > > On 15/02/2022 11:49, Uwe Kleine-König wrote: > > > [... Something inserted a space in Subject lines ...] > > > > Other threads - not only mine - are also affected: > > http://lists.infradead.org/pipermail/linux-arm-kernel/2022-February/714311.html > > http://lists.infradead.org/pipermail/linux-arm-kernel/2022-February/714316.html > > http://lists.infradead.org/pipermail/linux-arm-kernel/2022-February/714364.html > > In the meantime I'm confident that mailman2 is the culprit. For the record: Using python2 (which is what mailman2 uses): >>> from email.header import Header >>> h = Header('[PATCH v2 08/15] dt-bindings: pwm: renesas,pwm: Include generic pwm schema', maxlinelen=76, header_name='Subject') >>> h.encode() '[PATCH v2 08/15] dt-bindings: pwm: renesas,\n pwm: Include generic pwm schema' This is the inner source of the problem, mailman just does something like: >>> import email >>> a = email.message_from_file(open('message')) >>> open('message-mangled', 'w').write(a.as_string()) So we just have to wait until all mailserver admins migrate away from mailman2. I bet this will happen no later than when Python2 will become EOL. :-\ Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Attachment:
signature.asc
Description: PGP signature