@input_size_validation
With no size limit, an attacker can send files hundreds of MB in size to overwhelm worker memory or MinIO storage.大小验证发生在两层:Nginx(在有效负载到达 FastAPI 之前)和 FastAPI(图像类型和尺寸验证)。
With no size limit, an attacker can send files hundreds of MB in size to overwhelm worker memory or MinIO storage.大小验证发生在两层:Nginx(在有效负载到达 FastAPI 之前)和 FastAPI(图像类型和尺寸验证)。