From: Alex Bochannek <alex@bochannek.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: master eaf224f: Repad the Face header in Gnus
Date: Thu, 20 May 2021 16:23:18 -0700 [thread overview]
Message-ID: <m27djtng61.fsf@bochannek.com> (raw)
In-Reply-To: <87imbuq65p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 01 Oct 2020 18:09:54 +0200")
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.
next prev parent reply other threads:[~2021-05-20 23:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200928120917.4097.80823@vcs0.savannah.gnu.org>
[not found] ` <20200928120919.8AAC3209AC@vcs0.savannah.gnu.org>
2020-09-29 15:02 ` master eaf224f: Repad the Face header in Gnus Robert Pluim
2020-09-29 15:03 ` Lars Ingebrigtsen
2020-09-29 15:11 ` Robert Pluim
2020-09-29 15:59 ` Eli Zaretskii
2020-09-30 6:36 ` Alex Bochannek
2020-09-30 13:34 ` Lars Ingebrigtsen
2020-09-30 18:40 ` Alex Bochannek
2020-10-01 0:45 ` Lars Ingebrigtsen
2020-10-01 6:58 ` Alex Bochannek
2020-10-01 16:09 ` Lars Ingebrigtsen
2021-05-20 23:23 ` Alex Bochannek [this message]
2021-05-25 5:08 ` Lars Ingebrigtsen
2021-05-25 15:56 ` Alex Bochannek
2021-05-25 19:31 ` Lars Ingebrigtsen
2021-05-25 22:40 ` Alex Bochannek
2021-05-25 22:43 ` Alex Bochannek
2021-05-26 21:55 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m27djtng61.fsf@bochannek.com \
--to=alex@bochannek.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.