pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: oauth: Reject quoted empty string in validator config
Date: Thu, 05 Nov 2026 20:48:42 +0000
Message-ID: <E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org> (raw)

oauth: Reject quoted empty string in validator config

Commit bca67e5a3 added checking for blank validator configuration, this
completes that work by checking for a quoted empty string as well.

Backpatch down to v18 like bca67e5a3.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAN4CZFP7ZMLB5Q1P4H__2d54om6fO+OEBZpWLpMwhFipobrEEw@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e83298599633528e749887b17f74fe933c552154

Modified Files
--------------
src/backend/libpq/auth-oauth.c                   | 16 ++++++++++++++++
src/test/modules/oauth_validator/t/001_server.pl |  7 +++++++
2 files changed, 23 insertions(+)



view thread (3+ messages)

Message-ID: <E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org>
Permalink:  ../E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: oauth: Reject quoted empty string in validator config
  In-Reply-To: <E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org>
  References: <E1xP4O3-00000000MXu-0y1V@gemulon.postgresql.org>

* 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