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 <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: 
https://postgr.es/m/can4czfp7zmlb5q1p4h__2d54om6fo+oebzpwlpmwhfipobr...@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(+)

Reply via email to