Reprocess of a queued/processing/failed upload now sources from verified staging instead of the not-yet-written final original, which used to supersede v1 and strand the attachment in queued. PNG uploads now inflate the concatenated IDAT stream (bounded by IHDR dimensions) before acceptance, so a structurally valid PNG whose IDAT is not a zlib stream is rejected with 415 instead of 202.
16 lines
483 B
Plaintext
16 lines
483 B
Plaintext
# attachments-negative 2026-10-30T21:41:23Z
|
|
10 MiB + 1 body: 413
|
|
empty body: 415
|
|
corrupt PNG (IDAT CRC): 415
|
|
MIME spoof (PNG declared as JPEG): 415
|
|
structurally valid PNG with non-zlib IDAT: 415
|
|
dangerous filenames: 400
|
|
foreign attachment metadata/content: 404
|
|
empty text without attachments: 400
|
|
attachment from another chat: 404
|
|
11 attachment ids: 400
|
|
duplicate attachment ids: 400
|
|
attachment-only message: 201
|
|
anonymous direct S3 GET: 403
|
|
PASS: lab4 attachment negative scenarios
|