Files
appwrite/app
Damodar LohaniandClaude Opus 4.6 ba25849871 fix: resolve cors safely in error handler to avoid cascading failures
- Remove cors from inject chain; resolve via getResource() inside
  try-catch so DB failures don't cascade when resolving the cors
  resource dependency chain (cors -> allowedHostnames -> rule -> DB)
- Use override:true on addHeader to prevent duplicate CORS headers
  when init() already set them before the exception was thrown
- Degrades gracefully: if cors resolution fails, error response is
  sent without CORS headers (same behavior as before this PR)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 02:59:08 +00:00
..
2025-12-02 01:40:44 +00:00
2026-04-02 12:26:03 +02:00
2026-04-05 19:37:29 +05:30
2026-04-02 08:23:51 +05:30
2026-01-03 22:38:17 +00:00
2026-04-01 23:01:11 +05:30