vikunja/pkg/modules/migration/vikunja-file
kolaente 39da47e435 fix: detect and fail on oversized zip entries instead of silent truncation
Replace io.LimitReader with a new readZipEntry helper that reads one extra
byte to detect when content exceeds maxZipEntrySize (500MB). This prevents
silent data corruption where partial file bytes would be stored as if the
upload succeeded.

The import now fails with ErrFileTooLarge instead of accepting truncated
content for attachments and background blobs.
2026-02-25 13:01:00 +01:00
..
export.zip fix(migration): make file migration work with new structure 2023-05-24 15:51:56 +02:00
export_pre_0.21.0.zip fix(migration): make file migration work with new structure 2023-05-24 15:51:56 +02:00
main_test.go refactor: remove environment variable requirements for go test 2026-02-17 18:01:05 +01:00
vikunja.go fix: detect and fail on oversized zip entries instead of silent truncation 2026-02-25 13:01:00 +01:00
vikunja_test.go refactor: remove environment variable requirements for go test 2026-02-17 18:01:05 +01:00