From f7cecc6ce374a71e76bcb13890f9ff0539e821f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 23 Jun 2026 12:45:12 +0400 Subject: [PATCH] =?UTF-8?q?v1.0.151:=20fix=20chunk=20assemble=20=E2=80=94?= =?UTF-8?q?=20decode=20hex=20to=20binary=20before=20storing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chunk.cfm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chunk.cfm b/chunk.cfm index d3818ef..79031ca 100644 --- a/chunk.cfm +++ b/chunk.cfm @@ -73,7 +73,7 @@ INSERT INTO documents (filename, mime_type, original_bytes, status) - VALUES (,,,'uploaded') + VALUES (,,decode(,'hex'),'uploaded') SELECT id FROM documents WHERE filename= AND status='uploaded' ORDER BY created_at DESC LIMIT 1