Subject: bug#47616: 27.1; hardening mail-envelope-from

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 07 May 2021 13:17:27 +0200

Francesco Potortì <[email-masked]> writes:

> That makes sense, in principle.  I would argue for adding a comment to
> mail-envelope-from stating that since it calls mail-fetch-field it
> should be called only after narrowing to the headers.  Or maybe even
> adding a note in the doc string, as done in mail-fetch-field.

Good idea.  I've now mentioned this in the doc string in Emacs 28.

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