supabase / supautils

PostgreSQL extension that secures a cluster on a cloud environment

Home Page:https://supabase.github.io/supautils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: The placeholder contains the "" disallowed value

steve-chavez opened this issue · comments

When setting disallowed values to the empty string

supautils.placeholders="response.headers"
supautils.placeholders_disallowed_values=""

Setting all placeholders fail:

select set_config('response.headers', '[{"any": "public"}]', true);
ERROR:  The placeholder contains the "" disallowed value

Setting supautils.placeholders_disallowed_values="" is not allowed on the supabase platform since non-superuser was rolled in, but some old projects might run into this.