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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/8cb6b83e12043c1c91640716fb67d2ad0b988e95 Modified Files -------------- src/backend/libpq/auth-oauth.c | 16 ++++++++++++++++ src/test/modules/oauth_validator/t/001_server.pl | 7 +++++++ 2 files changed, 23 insertions(+)