Original PR: https://github.com/open-webui/open-webui/pull/21637 Author: @hztBUAA Created: 2/20/2026 Status: ❌ Closed
Base: main ← Head: fix/ts-mime-type
main
fix/ts-mime-type
b5d6c2e
fcebac0
2 files changed (+10 additions, -4 deletions)
📝 backend/open_webui/routers/images.py (+2 -2) 📝 backend/open_webui/utils/middleware.py (+8 -2)
backend/open_webui/routers/images.py
backend/open_webui/utils/middleware.py
contributor license agreement
.ts
video/vnd.dlna.mpeg-tts
Closes #21454
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21637
Author: @hztBUAA
Created: 2/20/2026
Status: ❌ Closed
Base:
main← Head:fix/ts-mime-type📝 Commits (2)
b5d6c2efix: remove API headers when downloading generated image URLsfcebac0fix: handle non-dict types in citation parser to prevent AttributeError📊 Changes
2 files changed (+10 additions, -4 deletions)
View changed files
📝
backend/open_webui/routers/images.py(+2 -2)📝
backend/open_webui/utils/middleware.py(+8 -2)📄 Description
contributor license agreement
Summary
.ts(TypeScript) files were incorrectly detected asvideo/vnd.dlna.mpeg-ttsby the browser/OS MIME detectionCloses #21454
Test plan
.tsfile uploads are accepted and stored with correct content type🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.