mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
issue: File Upload ignored when users drag files into prompt #5739
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @karlettoh on GitHub (Jul 11, 2025).
Originally assigned to: @tjbck on GitHub.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.15
Ollama Version (if applicable)
No response
Operating System
Debian 12.11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Our "private" model doesn't allow file uploads.
When I try to upload a file, it should not allow me.
When I drag a file into the browser window, it should refuse to upload.
Actual Behavior
When I drag a file into the browser, it uploads the file into the prompt, ignoring file upload.
Steps to Reproduce
The model we use with uploads disabled, when a user hovers over it, we see that it cannot be clicked - great.
When the same user finds a file, and drags and drops it, they can upload it successfully.
Logs & Screenshots
Logs:
2025-07-11 14:52:16.182 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /api/models HTTP/1.1" 200 - {}
2025-07-11 14:52:20.179 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:35.434 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /api/v1/chats/96b06c0c-1745-4580-90b2-dc585a0e0cbc HTTP/1.1" 200 - {}
2025-07-11 14:52:41.727 | INFO | open_webui.routers.files:upload_file:94 - file.content_type: application/json - {}
2025-07-11 14:52:44.229 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1125 - save_docs_to_vector_db: document Data_Analysis.json file-6ea71dbd-c1ee-4ff5-bf07-1a5fd06acbf4 - {}
2025-07-11 14:52:44.703 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:1208 - adding to collection file-6ea71dbd-c1ee-4ff5-bf07-1a5fd06acbf4 - {}
2025-07-11 14:52:48.871 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:48.872 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "GET /_app/version.json HTTP/1.1" 200 - {}
2025-07-11 14:52:54.693 | INFO | uvicorn.protocols.http.httptools_impl:send:476 -:0 - "POST /api/v1/files/ HTTP/1.1" 200 - {}
Additional Information
No response
@tjbck commented on GitHub (Jul 16, 2025):
Good catch, addressed with
82093cf690in dev!