mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-16 06:37:41 +08:00
Clients can no longer modify mime_type after asset creation via the
PUT /api/assets/{id} endpoint. This reduces the risk of mime_type
spoofing. The internal update_asset_hash_and_mime function remains
available for server-side use (e.g., enrichment).
Amp-Thread-ID: https://ampcode.com/threads/T-019cef5d-8d61-75cc-a1c6-2841ac395648
Co-authored-by: Amp <amp@ampcode.com>
|
||
|---|---|---|
| .. | ||
| routes.py | ||
| schemas_in.py | ||
| schemas_out.py | ||
| upload.py | ||