91 lines
1.5 KiB
JSON
91 lines
1.5 KiB
JSON
{
|
|
"status": "PASS",
|
|
"cases": [
|
|
{
|
|
"case": "corrupt_png",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "truncated_png",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "mime_spoof",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "unsupported_mime",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "empty_payload",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "unsafe_filename",
|
|
"status": 400
|
|
},
|
|
{
|
|
"case": "foreign_chat_upload",
|
|
"status": 404
|
|
},
|
|
{
|
|
"case": "unauthenticated_upload",
|
|
"status": 401
|
|
},
|
|
{
|
|
"case": "over_40_million_pixels",
|
|
"status": 413
|
|
},
|
|
{
|
|
"case": "oversized_content_length_before_body",
|
|
"status": 413
|
|
},
|
|
{
|
|
"case": "chunked_oversize",
|
|
"status": 413
|
|
},
|
|
{
|
|
"case": "foreign_attachment_metadata_and_bytes",
|
|
"status": 404
|
|
},
|
|
{
|
|
"case": "cross_chat_and_unknown_attachment",
|
|
"status": 404
|
|
},
|
|
{
|
|
"case": "attachment_idempotency_and_conflict",
|
|
"status": "201/409"
|
|
},
|
|
{
|
|
"case": "truncated_jpeg",
|
|
"status": 415
|
|
},
|
|
{
|
|
"case": "interrupted_http_body",
|
|
"metadata_or_object_added": false
|
|
}
|
|
],
|
|
"count": 21
|
|
}
|