Files
appwrite/app
loks0nandClaude Opus 4.7 957a588786 fix(cache): verify md5 signature on load, drop magic-byte check
Replace the output-side magic-byte check with a read-time integrity
verification in the shared cache middleware.

The cache document already stores `signature = md5(payload)` at save
time, but the load path never verified it. If the filesystem blob and
the cache document drift — a partial write, disk corruption, or a bad
entry that predates the content-type save guard — the mismatched md5
surfaces here and we treat the hit as a miss, purge, and let the action
regenerate the response.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 11:38:51 +01:00
..
2025-12-02 01:40:44 +00:00
2026-04-16 16:57:19 +05:30
2026-01-03 22:38:17 +00:00
2026-04-22 18:11:32 +05:30