Files
DeepTutor/tests/utils
RRFZ 5a344d3133 fix(knowledge): remove extracted members when a zip upload is rejected
safe_extract_zip writes members one by one into the KB raw/ directory.
When a later member tripped a zip-bomb guard or failed its CRC check, the
upload was rejected with HTTP 400 but every member written before it, and
for a CRC failure the corrupt member itself, stayed on disk.

Delete the files this call wrote before the error propagates, and drop a
member's partial output when it fails mid-read.
2026-10-30 16:10:42 -04:00
..
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00