Re: encode/decode support for base64url

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Florents Tselai <florents(dot)tselai(at)gmail(dot)com>, "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Aleksander Alekseev <aleksander(at)tigerdata(dot)com>, Cary Huang <cary(dot)huang(at)highgo(dot)ca>, Przemysław Sztoch <przemyslaw(at)sztoch(dot)pl>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: encode/decode support for base64url
Date: 2026-07-16 13:19:39
Message-ID: 3258FC72-F5E1-40B9-B5D7-64478CAF7728@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

During postcommit review for the upcoming v19 release I realized that this
introduced a slight regression in the truncation rules for plain base64. The
checks for padding must check the format to make sure it's a base64url, as per
the attached.

--
Daniel Gustafsson

Attachment Content-Type Size
0001-Fix-truncation-rules-for-base64-encoding.patch application/octet-stream 2.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2026-07-16 13:36:39 Re: encode/decode support for base64url
Previous Message lei yang 2026-07-16 13:17:54 Re: [PATCH] The heap_getsysattr function deletes unused parameters