mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? When a project's redirect URL list exceeds the 2KB client-side limit, the preflight length check in onConfirmDeleteUrl prevents users from removing URLs, showing "Too many redirect URLs, please remove some or try to use wildcards" on delete operations. This creates a deadlock where users can neither add nor remove URLs. The check validates the payload after removing the selected URLs, but if the remaining list is still over 2KB, it blocks the request. Since removing URLs can only reduce payload size (never increase it), this check is unnecessary on the delete path.