From: Daniel Gustafsson <daniel@yesql.se>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: shihao zhong <zhong950419@gmail.com>
Cc: imchifan@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19702: decode() accepts Base64 payload after terminal padding
Date: Tue, 10 Nov 2026 10:23:54 +0100
Message-ID: <DA51DA42-E481-48CB-B0F0-B5438EABEEEC@yesql.se> (raw)
In-Reply-To: <CAD21AoCrbbOsi1moWY=-x-iF_YUgAXeaPVA5b_LNZQ8DkHW+Pg@mail.gmail.com>
References: <19702-9ed4a131fcfadb9d@postgresql.org>
<CAGRkXqQ1oavtxsq8y7Be63ig=iXic+ogTU2UoH9FQMBcqYi6iQ@mail.gmail.com>
<D2D816AD-6B36-4EA4-B5EF-0077A999C7AD@yesql.se>
<CAD21AoCrbbOsi1moWY=-x-iF_YUgAXeaPVA5b_LNZQ8DkHW+Pg@mail.gmail.com>
> On 9 Nov 2026, at 23:43, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
> Thank you for taking care of it. I was also reviewing the patches and
> was about to send LGTM.
+1
> While I agree that we don't backpatch it to v18 or older, I think it
> (or at least the base64url part) should go into v19 as well. v19 is
> still in RC and base64url is new in v19, so there are no existing
> users relying on the current behavior, and it would be better to make
> base64url and base32hex consistent before the release.
That's a good point, I'll prepare a backpatch for 19 for the relevant portions.
--
Daniel Gustafsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: daniel@yesql.se, sawada.mshk@gmail.com, zhong950419@gmail.com, imchifan@163.com
Subject: Re: BUG #19702: decode() accepts Base64 payload after terminal padding
In-Reply-To: <DA51DA42-E481-48CB-B0F0-B5438EABEEEC@yesql.se>
References: <19702-9ed4a131fcfadb9d@postgresql.org> <CAGRkXqQ1oavtxsq8y7Be63ig=iXic+ogTU2UoH9FQMBcqYi6iQ@mail.gmail.com> <D2D816AD-6B36-4EA4-B5EF-0077A999C7AD@yesql.se> <CAD21AoCrbbOsi1moWY=-x-iF_YUgAXeaPVA5b_LNZQ8DkHW+Pg@mail.gmail.com> <DA51DA42-E481-48CB-B0F0-B5438EABEEEC@yesql.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox