Fix supabase-config CORS: treat absent Origin as allowed #95
Reference in New Issue
Block a user
Delete Branch "fix/stage-ci-paths"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
map_get returns null for missing headers. str_eq(null, "") is false, so same-origin browser fetches (which send no Origin) were denied. Fix: check str_starts_with(origin, "http") to detect a present origin; absent origin passes unconditionally.