pgsql: oauth: Reject quoted empty string in validator config
pgsql: oauth: Reject quoted empty string in validator config
От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
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 Reviewed-by: Daniel Gustafsson 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(+)