On Mon, 31 Aug 2026 12:15:43 +0200, Edmund Lodewijks wrote:
While creating thirteen ITP messages over the last week, I noticed that `dpt gen-itp` emits a `From:` header in which the encoded-word covers the entire address, and not just the display name: From: =?UTF-8?B?RWRtdW5kIExvZGV3aWprcyA8ZWRtdW5kQHByb3RlYW1haWwuY29tPg==?=
Ack, encoding the whole From: field is a bit silly.
A second problem appears with a non-ASCII name. $changelog->{Maintainer} is a
byte string, so encode() re-encodes it as though it were characters:
That's surprising, because this encoding stuff was added by a team member with an 'é' in their first name, and I'm sure they wouldn't have liked their name to be double-encoded.
But yay, maybe something has changed since then …
Results: Edmund Lodewijks <[email protected]> unchanged Jörg Müller <[email protected]> =?UTF-8?B?SsO2cmcgTcO8bGxlcg==?= <[email protected]> Foo Bar Jr., Ltd <[email protected]> "Foo Bar Jr., Ltd" <[email protected]> [email protected] unchanged <[email protected]> unchanged
Thanks for the patch and especially for the test runs. MR applied, will be in the next upload. (And is available from now on for everybody running dpt from Git, cf.https://manpages.debian.org/unstable/pkg-perl-tools/dpt-config.5.en.html )
Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe`-
signature.asc
Description: Digital Signature

