The upload-from-url endpoint passed an empty originalname to
uploadFile(), causing extname('') to return '' and files to be saved
without an extension. Derive the extension from the response
Content-Type header (or URL fallback) so files are stored with the
correct extension on disk.
Fixes gitroomhq/postiz-app#1147
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| backend | ||
| commands | ||
| extension | ||
| frontend | ||
| orchestrator | ||
| sdk | ||