all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#54383: 29.0.50; bad encoding of Disposition-Notification-To
@ 2022-03-14 13:33 Peter Münster
  2022-03-14 13:46 ` Lars Ingebrigtsen
  2022-03-14 14:26 ` Robert Pluim
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Münster @ 2022-03-14 13:33 UTC (permalink / raw)
  To: 54383

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Hi,

When sending a message with Gnus, the "To" and "From" fields are encoded
like this:

=?utf-8?Q?Peter_M=C3=BCnster?= <pm@a16n.net>

This seems to be ok.

But the value of the Disposition-Notification-To field is encoded like
this:

"Peter =?utf-8?Q?M=C3=BCnster=22?=
 <pm@a16n.net>

This seems to be wrong, because Postfix tries to "fix" it.

How could I get the right encoding for the Disposition-Notification-To
field please?

TIA for any help,
-- 
           Peter

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#54383: 29.0.50; bad encoding of Disposition-Notification-To
  2022-03-14 13:33 bug#54383: 29.0.50; bad encoding of Disposition-Notification-To Peter Münster
@ 2022-03-14 13:46 ` Lars Ingebrigtsen
  2022-03-14 14:26 ` Robert Pluim
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-03-14 13:46 UTC (permalink / raw)
  To: Peter Münster; +Cc: 54383

Peter Münster <pm@a16n.net> writes:

> But the value of the Disposition-Notification-To field is encoded like
> this:
>
> "Peter =?utf-8?Q?M=C3=BCnster=22?=
>  <pm@a16n.net>

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#54383: 29.0.50; bad encoding of Disposition-Notification-To
  2022-03-14 13:33 bug#54383: 29.0.50; bad encoding of Disposition-Notification-To Peter Münster
  2022-03-14 13:46 ` Lars Ingebrigtsen
@ 2022-03-14 14:26 ` Robert Pluim
  2022-03-14 14:49   ` Peter Münster
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2022-03-14 14:26 UTC (permalink / raw)
  To: Peter Münster; +Cc: 54383

>>>>> On Mon, 14 Mar 2022 14:33:46 +0100, Peter Münster <pm@a16n.net> said:

    Peter> Hi,
    Peter> When sending a message with Gnus, the "To" and "From" fields are encoded
    Peter> like this:

    Peter> =?utf-8?Q?Peter_M=C3=BCnster?= <pm@a16n.net>

    Peter> This seems to be ok.

    Peter> But the value of the Disposition-Notification-To field is encoded like
    Peter> this:

    Peter> "Peter =?utf-8?Q?M=C3=BCnster=22?=
    Peter>  <pm@a16n.net>

    Peter> This seems to be wrong, because Postfix tries to "fix" it.

The encoding is correct, but itʼs the encoding of

"Peter Münster" <pm@a16n.net>

whilst the From is the encoding of

Peter Münster <pm@a16n.net>

How are you generating Disposition-Notification-To?

Robert
-- 





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#54383: 29.0.50; bad encoding of Disposition-Notification-To
  2022-03-14 14:26 ` Robert Pluim
@ 2022-03-14 14:49   ` Peter Münster
  2022-03-14 15:14     ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Münster @ 2022-03-14 14:49 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 54383

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

On Mon, Mar 14 2022, Robert Pluim wrote:

>     Peter> "Peter =?utf-8?Q?M=C3=BCnster=22?=
>     Peter>  <pm@a16n.net>
>
>     Peter> This seems to be wrong, because Postfix tries to "fix" it.
>
> The encoding is correct,

Sure? After Lars's commit, it works.


> but itʼs the encoding of
>
> "Peter Münster" <pm@a16n.net>

Yes, indeed.


> whilst the From is the encoding of
>
> Peter Münster <pm@a16n.net>

I don't know.

In the message buffer it's always "Peter Münster" <pm@a16n.net>
for the From: field and the Disposition-Notification-To: field.

> How are you generating Disposition-Notification-To?

With:

C-c M-n runs the command message-insert-disposition-notification-to

-- 
           Peter

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#54383: 29.0.50; bad encoding of Disposition-Notification-To
  2022-03-14 14:49   ` Peter Münster
@ 2022-03-14 15:14     ` Robert Pluim
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2022-03-14 15:14 UTC (permalink / raw)
  To: Peter Münster; +Cc: 54383

>>>>> On Mon, 14 Mar 2022 15:49:55 +0100, Peter Münster <pm@a16n.net> said:

    Peter> On Mon, Mar 14 2022, Robert Pluim wrote:
    Peter> "Peter =?utf-8?Q?M=C3=BCnster=22?=
    Peter> <pm@a16n.net>
    >> 
    Peter> This seems to be wrong, because Postfix tries to "fix" it.
    >> 
    >> The encoding is correct,

    Peter> Sure? After Lars's commit, it works.

Yes, it was correctly rfc2047-encoded, just not correctly rfc2047-encoded for
address headers :-)

Robert
-- 





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-14 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 13:33 bug#54383: 29.0.50; bad encoding of Disposition-Notification-To Peter Münster
2022-03-14 13:46 ` Lars Ingebrigtsen
2022-03-14 14:26 ` Robert Pluim
2022-03-14 14:49   ` Peter Münster
2022-03-14 15:14     ` Robert Pluim

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.