mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
Validate the after/before query params as ISO-8601 before forwarding them to Luma's list-events endpoint. Invalid values (e.g. after=121 from bots/crawlers) now return a 400 to the client instead of being forwarded, which previously caused Luma to respond 400, the route to throw, and the error to be reported to Sentry as a handled 500. Also gate the Sentry capture in the GET catch block on the upstream status: upstream 4xx responses driven by bad client input are no longer captured, while genuine 5xx and network/unexpected errors still are. Addresses Sentry WWW-28.