|
From: | Alex Bochannek |
Subject: | Re: master eaf224f: Repad the Face header in Gnus |
Date: | Thu, 20 May 2021 16:23:18 -0700 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) |
Lars Ingebrigtsen <larsi@gnus.org> writes: > Alex Bochannek <alex@bochannek.com> writes: > >> I went through a few years of Gnus newsgroups and other mailing lists to >> see if I can find Face headers that break. I found two people who posted >> invalid base 64 with embedded space characters. One case (a) was a >> simple issue of improper header folding. The other case (b) is an odd >> corner case where there is a single space right in a folded header field >> and the proper padding assigned as well. How about something like this >> to make case (a) display properly and not fail for case (b)? > > [...] > >> +(defcustom gnus-base64-repad-regexp "[A-Za-z0-9+/= ]" > > I don't think this is necessary -- nobody would want to customise > something like this. Follow-up on this from last year. I didn't get a chance to fully implement the functionality and I believe this code path is now disabled. I can pick it up again if you would like me to. If I can get some more test emails that would make it a bit easier to handle the corner cases. -- Alex.
[Prev in Thread] | Current Thread | [Next in Thread] |