Commit Graph
4 Commits
Author SHA1 Message Date
Голиков Maximillian Антон 661c78eb1c test(student):lab4 concurrent upload memory experiment 2026-10-23 13:40:15 +03:00
Голиков Maximillian Антон fa3e919ad4 fix(student-tests):lab4 parse JSON body for 201 uploads 2026-10-23 11:27:08 +03:00
Голиков Maximillian Антон e799879f9e test(student):lab4 attachments negative cases
- 11 MiB body -> 413 payload_too_large
- truncated PNG -> 415 unsupported_media_type
- MIME mismatch (PNG bytes as image/jpeg) -> 201, content_type image/png
- outsider access to metadata and bytes -> 404
- foreign-chat attachment_id in message -> 404
- 11 attachment_ids -> 400 invalid_request
- duplicate attachment_ids -> 400 invalid_request
- empty filename -> 400
- path-traversal / backslash / NUL in filename -> 400
All rejections are 4xx; no 500 on user error.
2026-10-23 11:15:42 +03:00
Голиков Maximillian Антон 76322040e5 import lab3 files 2026-10-18 21:14:01 +03:00